Write a program to animate an articulated linkage with 3 joints and 5 degrees of freedom.
Use DoFs of 3-1-1 at the joints.
You can use Euler angles at the joints.
Design the link shape however you want.
As a suggestion, make them 10, 8, and 6 units long, respectively.
You can hardcode some number (like 6) of poses to interpolate between.
Linear interpolation is ok for the basic lab.
Extra Credit:
- use ease-in/ease-out interpolation
- use a more complex linkage (like 3-1-3 DoFs)
- use quaternions at the 3DoF joint
- use quaternions with curvilinear interpolation