Skip to content

jvanja/traer.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 24, 2022
2681334 · Jun 24, 2022

History

18 Commits
Jun 24, 2022
Jun 23, 2022
Jun 22, 2022
Jun 21, 2022
Jun 24, 2022
Jun 24, 2022
Jun 24, 2022

Repository files navigation

Traer physics 3.0 library ported to TypeScript

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.

There are four parts

  1. ParticleSystem - takes care of gravity, drag, making particles, applying forces and advancing the simulation
  2. Particles - they move around in 3D space based on forces you've applied to them
  3. Springs - they act on two particles
  4. Attractions - which also act on two particles

Examples

Cloth
Random Arboretum
Simple Pendulum
Bouncy Balls


About

Traer Physics library port to TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published