Verlet 集成物理引擎:verlet-js
jopen
12年前
verlet-js 是一个简单的 Verlet 集成物理引擎,由 Sub Protocol 使用 JavaScript 编写。Verlet 的发音是 'ver-ley'。
- Simulation: Root object that holds composite entities and drives all physics and animation within a scene.
- Composites: A high level object used within the scene (ball, bridge, cloth, etc..)
- Particles: Just a point in space that responds to gravity.
- Constraints: Links particles together so they can interact with each other.
- Pin: Binds a particle to a static/fixes position in space.
- Distance: Binds two particles together by a fixed linear distance.
- Angle: Binds 3 particles to each other by an acute angle.