Boing! Time to simulate a spring force! This challenge from The Coding Train fits into chapter 2 and 3 of the Nature of Code and demonstrates how to simulate the oscillating motion of a spring using vectors and forces1.
Footnotes
-
Daniel Shiffman. ↩