verlet

Verlet Integration simulation with P5.js. Demo here: https://lucaangioloni.github.io/verlet/

MIT License

Stars
5
Committers
1

Verlet

Verlet Integration simulation with P5.js

Instructions

  • 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

Demo

A demo is available at: https://lucaangioloni.github.io/verlet/