Creating keyframes

We need to make a keyframe array for each servo in our servos group, for each cue point: two arrays of five keyframes each.

That sounds simple enough, but how do we tell the animation to let the servos start wherever they happen to be? And how do we tween servoTwo across two cue points in its move to 90 degrees? The answer lies in the way Johnny-Five parses null and false as servo positions in keyframes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.170.65