Skip to content

milgra/cljs-mpd

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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