News for hackers. Stuff that matters.
Re:Show HN: A 2D Physics Simulator in JavaScript by opmac on Thursday July 27, 2017 @05:22PM (#14869707)
I'm with you, and I don't even find this particular example that interesting or accurate. You just re-run the same simulation over and over without any control of the initial or boundary conditions.
Re:Show HN: A 2D Physics Simulator in JavaScript by ivan_ah on Friday July 28, 2017 @12:10AM (#14871900)
What's special about this simulation is that the entire code fits on one page, including linear algebra library: https://github.com/aguaviva/Physics/blob/master/RigidBodyCha...

I've been trying to understand js physics simulation for many years, and this is the first demo that I find understandable. Amazing work!

Re:Show HN: A 2D Physics Simulator in JavaScript by xchip on Friday July 28, 2017 @03:57PM (#14877041)
Fantastic, in fact I wrote because I had been trying to understand physics engines four a long time and it was super hard to follow the papers. I wrote it four learning my self and published it to help others not go through my frustration :)