Javascript Physics Engine

An experimental 2d rigid body physics engine made with Javascript on top of the Three.js library. Using data structures defined by the library, calculates collisions using spatial hashing for broad-phase collision detection and brute force for narrow-phase collision detection.

Sphere and cube falling

Photo Credit: Andrew Jang


© 2022 by Andrew Jang