Chipmunk (software) explained

Chipmunk physics engine
Author:Scott Lembcke
Developer:Howling Moon Software
Latest Release Version:7.0.3
Operating System:Cross-platform
Programming Language:C, Objective-C
Genre:Physics engine middleware
License:MIT License, formerly open core

Chipmunk2D is a 2-dimensional real-time rigid body physics engine written by Scott Lembcke that is designed to be portable, lightweight, fast, and easy to use.[1] Prior to version 7, two main versions of the library existed. Chipmunk2D Free was written purely in C99, and freely available under the terms of the MIT License. Chipmunk2D Pro was a proprietary upgrade designed for development on mobile devices. It included several high-level subroutines in Objective-C, and floating-point optimizations for the ARM processor.[2] However, after version 7 the project was fully open-sourced.[3]

Aside from Objective-C, there are official bindings for Ruby, and third party interfaces exist for Python,[4] Haskell,[5] OCaml,[6] and others.[7] Chipmunk is endorsed by a number of game libraries, including Aerosol, Gosu,[8] and Cocos2d.[9]

Features

Chipmunk supports multiple collision primitives attached to one rigid body, and bodies may be joined by constraints. It has a flexible collision detection system with layers, exclusion groups and collision callbacks. Callbacks are defined based on user definable "collision types" and may reject collisions and even override the calculation of friction and elasticity coefficients.

Version 7 of the library introduced "Autogeometry", an image tracing feature that transforms a raster graphic into a polygonal shape usable by the library. This feature is currently only available in the Objective-C version of the library.

Chipmunk has been widely used on the iPhone, Mac/Windows/Linux, and other platforms, including Nintendo Wii and Sony PSP.[10]

See also

External links

Notes and References

  1. http://www.macnn.com/articles/10/08/16/update.reduced.cpu.hits.for.sleeping.items/ Chipmunk2d update reduced CPU hits for sleeping items
  2. Web site: Chipmunk2D Physics Pro . Howling Moon Software . 2014-05-26 .
  3. Web site: Chipmunk 7 released- Pro tools open sourced . Korth . Andy . Howling Moon Software . 2015-07-21 .
  4. http://pymunk.org/ Pymunk
  5. http://hackage.haskell.org/package/Hipmunk Hipmunk: A Haskell binding for Chipmunk
  6. Web site: ocaml-chipmunk . 2009-05-04 . 2009-01-16 . https://web.archive.org/web/20090116110646/http://www.linux-nantes.org/~fmonnier/OCaml/Chipmunk/ . dead .
  7. http://chipmunk-physics.net/bindingsAndPorts.php Bindings and Ports
  8. Web site: Gosu Chipmunk Integration . Johnson . Dirk . . 2014-05-26 .
  9. Web site: Cocos2d . 2010-10-02 . 2011-07-25 . https://web.archive.org/web/20110725183702/http://cocos2d.org/ . dead .
  10. https://www.youtube.com/watch?v=qplaML30ZQU "Chipmunk Physics ported to the PSP"