Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 662 Bytes

readme.md

File metadata and controls

19 lines (12 loc) · 662 Bytes

2D Rigid Body Iterative Constraint Solver

This is a small TypeScript example of a 2D Rigid Body Iterative Constraint Solver based on Erin's Catto's GDC 2014 talk using HTML5 Canvas and dat.gui UI.

preview of constraint solver

Running Locally

  • Using NodeJS

  • On the command line

  • Press 'b' on the keyboard to spawn more balls

  • Press 's' to go to single frame step mode

  • Press 't' to go to normal running mode