Hacker News new | past | comments | ask | show | jobs | submit login

In most of the demos, you can grab the objects and drag them around. In other demos (like 8 ball) you can 'shoot' them.

I wasn't expecting it to be so smooth and precise... this is really great work. It makes me realize why I got a C in physics, because I could never make this!




It's not just physics though, as I remember Erin the author of box2d mentioning that most of the work is concerned with allocating and deallocating tiny pieces of memory. After that the physics are rather simple Newtonian equations.


But then, in order to calculate those newtonian equations, you need an integrator, right?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: