Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Features  





2 See also  





3 References  





4 External links  














Chipmunk (software)






Français
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Chipmunk physics engine
Original author(s)Scott Lembcke
Developer(s)Howling Moon Software
Stable release

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

Repository
Written inC, Objective-C
Operating systemCross-platform
TypePhysics engine middleware
LicenseMIT License, formerly open core
Websitechipmunk-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]

Features[edit]

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[edit]

References[edit]

  • ^ "Chipmunk2D Physics Pro". Howling Moon Software. Retrieved 2014-05-26.
  • ^ Korth, Andy. "Chipmunk 7 released- Pro tools open sourced". Howling Moon Software. Retrieved 2015-07-21.
  • ^ Pymunk
  • ^ Hipmunk: A Haskell binding for Chipmunk
  • ^ "ocaml-chipmunk". Archived from the original on 2009-01-16. Retrieved 2009-05-04.
  • ^ Bindings and Ports
  • ^ Johnson, Dirk. "Gosu Chipmunk Integration". GitHub. Retrieved 2014-05-26.
  • ^ "Cocos2d". Archived from the original on 2011-07-25. Retrieved 2010-10-02.
  • ^ "Chipmunk Physics ported to the PSP"
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Chipmunk_(software)&oldid=1188216442"

    Categories: 
    Computer physics engines
    Free computer libraries
    Software using the MIT license
     



    This page was last edited on 4 December 2023, at 00:50 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki