A simple particle system physics engine for processing rewritten in TypeScript. All this is supposed to do is let you make particles, apply forces and calculate the positions of particles over time in real-time. Anything else you need to handle yourself.
- ParticleSystem - takes care of gravity, drag, making particles, applying forces and advancing the simulation
- Particles - they move around in 3D space based on forces you've applied to them
- Springs - they act on two particles
- Attractions - which also act on two particles
Cloth
Random Arboretum
Simple Pendulum
Bouncy Balls
- Original source for processing is here: http://murderandcreate.com/physics/
- All credit goes to Jeffrey Trær Bernstein