Verlet Integration simulation with P5.js
- Mouse click => create point
- Mouse click + Shift Key => create locked point
- Mouse drag => connect points
- Mouse drag + Shift Key => cut connections
- Press 's' => Start simulation
- Press 'r': Reset simulation
A demo is available at: https://lucaangioloni.github.io/verlet/