Python Physics: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (+cat)
(Updated some Box2D and Elements-related information)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Simulating physical behavior is both interesting and exciting for games, education and playful learning. There are a few open source 2D [http://en.wikipedia.org/wiki/Physics_engine physics engines] out there, and it seems [http://wiki.slembcke.net/main/published/Chipmunk chipmunk] (building on top of [http://www.box2d.org/ box2d]) is one of the most advanced. It also has python bindings ([http://code.google.com/p/pymunk/ pymunk]), and work is in progress on an API ([[pymunx]]) for easy usage in pygame, with a focus on olpc and the XO laptop :)
Simulating physical behavior is both interesting and exciting for games, education and playful learning. There are a few open source 2D [http://en.wikipedia.org/wiki/Physics_engine physics engines] out there, and for 2D the two most advanced engines are [http://www.box2d.org/ box2d] and [http://wiki.slembcke.net/main/published/Chipmunk chipmunk] (originally based on Box2D). Both have python bindings (see [http://code.google.com/p/pymunk/ pymunk] and [http://code.google.com/p/pybox2d/ pybox2d]). Work is in progress on an API [[Elements]] for easy usage in pygame, with a focus on olpc and the XO laptop.




Links:
Links:
* [[Physic Engines]] (comparison)
* [[Physic Engines]] (comparison)
* [[Elements]] An engine based on pybox2d, making physics quick and easy to implement (previously called 'Pymunx')
* [[Elements]] (chipmunk for python (and the xo))
* [http://code.google.com/p/pybox2d/ pybox2d] Box2D bindings for Python
* [http://wiki.slembcke.net/main/published/Chipmunk Chipmunk Physics Engine] ([http://www.slembcke.net/photos/v/programming/chipmunk/ Screenshots])
* [http://wiki.slembcke.net/main/published/Chipmunk Chipmunk Physics Engine] ([http://www.slembcke.net/photos/v/programming/chipmunk/ Screenshots])
* [http://code.google.com/p/pymunk/ pymunk] ([http://www.slembcke.net/forums/viewforum.php?f=6 Forum])
* [http://code.google.com/p/pymunk/ pymunk] ([http://www.slembcke.net/forums/viewforum.php?f=6 Forum]) Chipmunk bindings for Python




Line 20: Line 21:


[[Category:Physics]]
[[Category:Physics]]
[[Category:Software ideas]]

Latest revision as of 15:55, 7 May 2009

Simulating physical behavior is both interesting and exciting for games, education and playful learning. There are a few open source 2D physics engines out there, and for 2D the two most advanced engines are box2d and chipmunk (originally based on Box2D). Both have python bindings (see pymunk and pybox2d). Work is in progress on an API Elements for easy usage in pygame, with a focus on olpc and the XO laptop.


Links:


YouTube Videos:


Phys stacking.pngPhys tower.png
Phys crayon1.pngPhys crayon2.png