Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.
Version 24 (modified by Extrawurst, 13 years ago)
--

pyramid stack of dominos

Welcome to chipmunkD

ChipmunkD is a direct port of the 2D physics engine chipmunk from plain C to the D programming language. I tried to change as little as possible while porting to be able to benchmark C vs. D directly and to make patching the port as easy as possible when a new release of the original library is published.

I however plan on creating and maintaining a branch of the lib where i gonna convert some parts of the library to a more D'ish flavour. That way the spoilt D coder does not have to live without operators and a single class that holds the state of the engine rather than some random global variables.

Facts

  • direct port of Chipmunk 2D physics engine
  • pure D2 code, no bindings, no external library
  • last tested to compile with D 2.050
  • current base version: chipmunk 5.3.2

Status

The direct port of chipmunk 5.3.2 is almost finished and tested roughly using the demos of the chipmunk package.

TODO:

  • some of the convenience getter methods (properties) are not yet defined in D
  • cleanup the demos and publish them here too (they use dependancies i got to make them loose first)

Resources