Physics engines: Difference between revisions
Jump to navigation
Jump to search
Crazy-chris (talk | contribs) (chipmunk not necessarily faster. tests follow) |
Crazy-chris (talk | contribs) (+ speed test) |
||
Line 61: | Line 61: | ||
| ~ 1.5 mb |
| ~ 1.5 mb |
||
| ~ 300 kb |
| ~ 300 kb |
||
|- |
|||
| '''Speed''' [[Physic_Engines/Speed_Tests|[1]]] |
|||
| +++ |
|||
| +++++ |
|||
| +++ |
|||
| +++ |
|||
|- |
|- |
||
| '''Platforms''' |
| '''Platforms''' |
||
Line 98: | Line 104: | ||
| [http://www.youtube.com/watch?v=aQUWnVyXtns] |
| [http://www.youtube.com/watch?v=aQUWnVyXtns] |
||
|} |
|} |
||
[[Physic_Engines/Speed_Tests|Speed Tests]] made on March 17, 2008. |
|||
Revision as of 13:17, 18 March 2008
This is a short comparison of 2d physics engines.
Chipmunk | Box2d | Phun | iPhysics | |
---|---|---|---|---|
License | MIT | zlib | - | - |
Source Code | yes | yes | no | no |
Documentation | [1] | [2] | - | - |
Forums | [3] | [4] | [5] | - |
Wiki | - | [6] | - | - |
irc.freenode.net | #pymunk | #box2d | - | - |
Latest Release | March 08 | March 08 | March 08 | March 08 |
Language | C | C++ | C++ | |
Library Size | 41 kb | 165 kb | ~ 1.5 mb | ~ 300 kb |
Speed [1] | +++ | +++++ | +++ | +++ |
Platforms | Linux, Windows, Mac | Linux, Windows, Mac | Linux, Windows | iPhone |
Python Bindings | pymunk, Elements | via SWIG | - | - |
XO Compatible | yes | yes | not yet (only with OpenGL) | - |
Notes | - | - | - | more infos |
Screenshots | [7] | [8] | [9] | |
Videos | [10] [11] [12] | [13] | [14] |
Speed Tests made on March 17, 2008.
Download & Build Instructions
Chipmunk
Chipmunk, Python API & Examples
Box2d
- svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d
- Download and apply this patch: http://pippin.gimp.org/tmp/box2d-build-diff.txt
- run 'make'
If it fails with a suggestion to use the -fPIC flag, add it to Source/Makefile, line 13. So it looks like this:
CXXFLAGS= -g -O2 -fPIC
Phun
- http://phun.cs.umu.se/wiki/Download (Binaries for Windows and Linux)
iPhysics