reanimate-0.3.2.3: Animation library based on SVGs.
Reanimate.Chiphunk
simulate :: Space -> BodyStore -> Double -> Int -> Double -> IO Animation Source #
type BodyStore = IORef (Map WordPtr Tree) Source #
newBodyStore :: IO BodyStore Source #
addToBodyStore :: BodyStore -> Body -> Tree -> IO () Source #
spaceFreeRecursive :: Space -> IO () Source #
polyShapesToBody :: Space -> [PolyShape] -> IO Body Source #
polygonsToBody :: Space -> [[Vect]] -> IO Body Source #