Honors 104.502 Lecture 10 – Shuffle Cup Cont’d
Agenda
- what ?s
- swapping cups
- modeling parabolic motion
- shuffling cups
TODO
- Friday lab will be a clinic and upload test. Bring your Puzzler issues!
Note
Last time we started Shuffle Cup and used coroutines to stage a mostly manual animation of lifting cups. We introduced the Lerp function to linearly transition between two stations. Today we want to shuffle those cups, but not linearly! We’ll make the cups follow a quadratic path from one slot to the next.
Code
…