While this won't solve your problem at all, you may want to take a look at [1]. Cheers! [1] http://hackage.haskell.org/packages/archive/Hipmunk/5.2.0.6/doc/html/src/Physics-Hipmunk-Shape.html#convexHull -- Felipe.