Note: This website is archived. For up-to-date information about D projects and development, please visit


Grab the source via:

hg clone


The usage of chipmunkd is almost exactly the same like it is in C. So if you ever used the original using chipmunkd comes totally natural.

Here is what i consider a Hello World Application for chipmunkd:

import chipmunkd.chipmunk;

import std.stdio;

void main()
	// init
	cpSpace* space = cpSpaceNew();

	space.gravity = cpv(0, -1);	
	// simulate a step
	cpSpaceStep(space, 1.0f/60.0f);
	// cheer
	writefln("Hello chipmunkd");
	// cleanup

Find a more documented example here.

Find the ported graphical chipmunk demos here.

For in depth documentation see the original docs: Chipmunk Docs