MIN_ANGLE) { angle=MAX_ANGLE; } else { angle=MIN_ANGLE; } }, 120); obniz.io.animation("animation-fast", "loop", [ { duration: 120, state: function(index){ // index = 0 servo0.angle(MIN_ANGLE); servo1.angle(MAX_ANGLE); } },{ duration: 120, state: function(index){ // index = 1 servo0.angle(MAX_ANGLE); servo1.angle(MIN_ANGLE); } }]); IO-Animationを使うことで⼀定 間隔の⽻ばたき動作を実現