subprotocol / verlet-js

A simple Verlet physics engine written in javascript
Other
3.76k stars 461 forks source link

Is this 3D? #22

Open trusktr opened 8 years ago

trusktr commented 8 years ago

If not, do you know of a comparable 3D physics library?

zhaoyong7 commented 8 years ago

three.js

1j01 commented 7 years ago

This isn't 3D, and Three.js isn't a physics library, although there are several Three.js physics engine integrations. I don't know of any 3D physics engines that are "point-based" in the same way.

forresto commented 7 years ago

https://particulatejs.org/ is somewhat similar and solves 3D systems, but doesn't have stiffness in the constraints.

1j01 commented 7 years ago

This example (source) seems to have stiff constraints. I don't know that it's adjustable though.

forresto commented 7 years ago

https://github.com/mattdesl/verlet-system is another lib that works in 3d.