Due: Tuesday 3/11 10:00am

Submission name: w09_simulation

Making a more robust simulation.

  • First off, start with a working gravity simulation with 2 orbs (work 08).
  • Add the ability to turn the following features on and off:
    • The drag force
    • Gravity between Orbs
    • Wind (a constant push left or right)
    • Global gravity (a constant push up or down)
    • Bouncing on the walls
  • Include some visual indication of which features are currently active.
  • Once that is done, modify your code so that instead of 2 Orb objects, you have an array of orbs. All the forces should work on the orbs as before.