Cubified / softbody

A simple soft body physics simulation for n-sided polygons (WIP).

Home Page:https://cubified.github.io/softbody

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

softbody

A simple soft body physics simulation, including spring-mass and pressure bodies.

demo.png

Try it Here

Features

  • Soft body generator for any n-sided equilateral polygon
  • Draggable shapes using the mouse
  • Simplified spring-mass/harmonic motion simulation (with damping)

Work-in-progress features:

  • Gravity
  • Collisions
  • More complex polygons

About

A simple soft body physics simulation for n-sided polygons (WIP).

https://cubified.github.io/softbody


Languages

Language:JavaScript 95.8%Language:HTML 4.2%