UNPKG

newton

Version:

A playful, particle-based physics engine designed from the ground up for JavaScript.

10 lines (8 loc) 269 B
p. The Simulator is responsible for integrating Particles, applying Forces, and resolving Constraints. p. All the high-level and advanced functionality of Newton is based on these three simple steps. pre.CodeBlock. var sim = Newton.Simulator(); sim.start();