Chipmunk (software)

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]

Chipmunk physics engine
Chipmunk Physics Screenshot
Original author(s)Scott Lembcke
Developer(s)Howling Moon Software
Stable release
7.0.3 / June 7, 2019 (2019-06-07)
Repository
Written inC, Objective-C
Operating systemCross-platform
TypePhysics engine middleware
LicenseMIT License, formerly open core
Websitechipmunk-physics.net

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]

gollark: Go is horrible!
gollark: I asked on the FTB subreddit where I could get a recipe dump. This time I mentioned CC.```Some random person: You can do file I/O from text without issue.Someone probably wrote a CSV API.Once you define the format all you have to do is edit the file in the CC directory.Me: I can't actually find anything which will output the recipes in any format.SRP: You will have to create, essentially, you're own API to do that using the file I/O as your basis.```They win the Missing the Point award!
gollark: ```-----BEGIN CERTIFICATE---LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JR1RBZ0VBTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEJIa3dkd0lCQVFRZ0RWUGtaM2lkZ01aYjZlenQKK1hWQ0tUbVRpQm9iNjZhV0VSUFpOTkZQYzJ5Z0NnWUlLb1pJemowREFRZWhSQU5DQUFTWGRyQnFvOGxFWVhXeQoyRndWYXY2MnlNd1hGeDdNM0dwUUNmSlZyakU2T3ZFZUNTZ2JTTTlES3l3Ti84ZktFZDQ0akh3ZmJYQlNyZ1p2CjBWYnRSR0NjCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K-----END CERTIFICATE-----```
gollark: More out-of-context random stuff!
gollark: _still hopes that one day there will be a recipe dump mod and I can stop mucking with this pattern definition DSL_

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.