Lenny-Hu / note

blog
5 stars 1 forks source link

JavaScript 物理引擎合集 #48

Open Lenny-Hu opened 5 years ago

Lenny-Hu commented 5 years ago

Verlet-js:超炫的开源 JavaScript 物理引擎

Verlet-js 是一个简单的集成 Verlet 的物理引擎,基于 JavaScript 编写,作者是 Sub Protocol。粒子系统、距离限制、角度限制等,Verlet-js 都能支持,基于这些基础,它可以帮助你构建几乎任何你能想象到的任何东西。

  下面的几个 Demo 的效果都很炫!有类似 Google Gravity 的重力场效果,还有模拟现实布料、分形树和蜘蛛网等等,赶紧来围观吧!

https://www.cnblogs.com/lhb25/archive/2013/05/27/verlet-integration-physics-engine.html

http://www.yyyweb.com/demo/verlet-js/examples/shapes.html

https://github.com/subprotocol/verlet-js

Lenny-Hu commented 5 years ago

PhysicsJS

https://github.com/wellcaffeinated/PhysicsJS star 3247+

http://wellcaffeinated.net/PhysicsJS/

Lenny-Hu commented 5 years ago

matter-js

https://github.com/liabru/matter-js star 8693+

Lenny-Hu commented 5 years ago

three.js

Three.js是一款开源的主流3D绘图JS引擎(名字Three就是3D的含义)

https://github.com/mrdoob/three.js/ star 51976+

https://techbrood.com/threejs/docs/

https://threejs.org

Lenny-Hu commented 5 years ago

ammo.js

https://github.com/kripken/ammo.js/