Skip to content

milgra/cljs-mpd

Repository files navigation

cljs-mpd

Mass Point Dynamics Engine for ClojureScript

run :

shadow-cljs watch app

screenshot

Live Demo

Features

  • Adaptive time stepping
  • Mass points with radius, weight and elasticity
  • Distance guards for rigid body simulation
  • Angle guards for skeleton simulation

Usage

  • Copy src/mpd to your project src folder
  • Check out scenes.cljs how to set up a scene
  • Check out core.cljs/main how to iterate through phy2 functions

Todo

  • vertical surface problem?
  • curtain demo scene
  • refine proximity/collosion to calm particles and angle guards
  • write tests

About

Mass Point Dynamics Engine for ClojureScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published