Inspired by this video by Sebastian Lague
Simple demonstration of how verlet integration can simulate basic physics between points and joints. Rendering is done with Raylib.
Webassembly version hosted at: https://hsphere.pages.dev/ropesim/
Left click to add point
Right click to delete point
Middle click to anchor point
Space to stop/start simulation
- Clone the repo with
git clone --recursive
- Link the raylib library
- Compile and run