Spring Forces

Coding Challenge #160

Boing! Time to simulate a spring force! This challenge fits into chapters 2 and 3 of the Nature of Code and demonstrates how to simulate the oscillating motion of a spring using vectors and forces.

icon for Processing Simple Spring (Port)
icon for Processing Spring Vector (Port)
icon for Processing Spring OOP (Port)
icon for Processing Soft Spring (Port)