a small demo app for springs
spring force ~ -k * displacement where k is stiffness and displacement is the distance of the expanded spring position to equilibrium (resting position)
damping force: -bẋ where b is the damping value and ẋ is the first derivative of x, the change in displacement
- Pixar video course on springs: https://www.khanacademy.org/computing/pixar/simulation/hair-simulation-101/e/hookes-law
- nice explanations on git: https://github.com/gyanprayaga/computational-mechanics/blob/master/damped-harmonic-oscillator.ipynb
- wiki on Harmonic Oscillators: https://en.wikipedia.org/wiki/Harmonic_oscillator
- wiki on Hooke's Law https://github.com/gyanprayaga/computational-mechanics/blob/master/damped-harmonic-oscillator.ipynb