Creating a 2D physics engine from scratch in JavaScript | Dark Hacker News