Basic Physics Engine in about 100 lines of pure JavaScript

https://slicker.me/javascript/physics/physics_engine.htm

Comments

AlphaTheGoatMar 28, 2026, 6:56 PM
Really fun project. I like how you handled the collisions and edge cases for the ball experiment.