DUCK SOAP

I made this dignified little guy as a way to practice doing things that have dynamics and act like springs (boing-boing).

Instructions:

  • Drag on the head or nose to make bouncy things happen.
  • Drag elsewhere in the scene to change the view.
  • Drag on the two sliders at top-left to change spring mass and damping.
- Ken Perlin

 

The code that simulates spring forces is in Spring.java.