joint deflection animation - ksoltan/RoboFish GitHub Wiki
joint_deflection_animation
Animates the hinge approximation to the chosen body function in a subplot on the right. On the left, animates the sinusoid produced by each joint intersection.
If set saveMovie to true, will also save the animation. Code modified from Image Analyst in https://www.mathworks.com/matlabcentral/answers/154659-how-to-create-animation-of-matlab-plotting-points-on-a-graph