Chipmunk

Chipmunk physics engineChipmunk Physics Screenshot

Original author(s)| Scott Lembcke
Developer(s)| Howling Moon Software
Stable release|

7.0.3 / June 7, 2019; 6 years ago (2019-06-07)

Written in| C, Objective-C
Operating system| Cross-platform
Type| Physics engine middleware
License| MIT License, formerly open core
Website| chipmunk-physics.net

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]

## Contents

* 1 Features
* 2 See also
* 3 References
* 4 External links

## 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

* Box2D

## References

1. ↑ Chipmunk2d update reduced CPU hits for sleeping items
2. ↑ "Chipmunk2D Physics Pro". Howling Moon Software. https://chipmunk-physics.net/chipmunkPro.php. Retrieved 2014-05-26.
3. ↑ Korth, Andy. "Chipmunk 7 released- Pro tools open sourced". Howling Moon Software. http://howlingmoonsoftware.com/wordpress/chipmunk-7-released-pro-tools-open-sourced/. Retrieved 2015-07-21.
4. ↑ Pymunk
5. ↑ Hipmunk: A Haskell binding for Chipmunk
6. ↑ "ocaml-chipmunk". http://www.linux-nantes.org/~fmonnier/OCaml/Chipmunk/.
7. ↑ Bindings and Ports
8. ↑ Johnson, Dirk. "Gosu Chipmunk Integration". https://github.com/jlnr/gosu/wiki/Ruby-Chipmunk-Integration. Retrieved 2014-05-26.
9. ↑ "Cocos2d". http://cocos2d.org/.
10. ↑ "Chipmunk Physics ported to the PSP"

## External links

* Chipmunk Forums
* Chipmunks Ruby Bindings, with more functionality wrapped.
* chipmunk-ffi, a more up-to-date Ruby interface using Nice-FFI.
* Demos of Chipmunk on YouTube

* v
* t
* e

Physics engines (list)

* Game physics
* Procedural animation
* Physically based animation
* Ragdoll physics

Free /
open source|

* Box2D
* Bullet
* Cannon.js
* Chipmunk
* Newton Game Dynamics
* Open Dynamics Engine
* OPAL
* Physics Abstraction Layer
* PhysX
* Phyz
* Project Chrono
* Siconos
* Simulation Open Framework Architecture
* Tokamak

Proprietary|

* AGX Multiphysics
* Algodoo
* Chipmunk
* Digital Molecular Matter
* Euphoria
* Havok
* Reactor
* Vortex

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Chipmunk&oldid=708361"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template