3 ms·
Chipmunk Physics... on the iPhone
Chipmunk Physics is a 2D physics engine. It was posted to news.yc yesterday (http://news.ycombinator.com/item?id=87456 http://news.ycombinator.com/item?id=87456)
I was inspired to get it running on the iPhone. It's even integrated with the iPhone's accelerometer so the simulation gravity actually tracks the phone's physical movement.
Here's a few videos, and a binary for those with hacked iPhones:
http://tlrobinson.net/misc/iphone_chipmunk_physics/ http://tlrobinson.net/misc/iphone_chipmunk_physics/
Right now it's just running the default Chipmunk demos. I'll post the source code if anyone wants to check it out.