Personal tools

Hpysics

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
 
* [http://wiki.slembcke.net/main/published/Chipmunk Chipmunk] -- 2D physics engine, inspired by Box2D. Fast and simple, written in C.
 
* [http://wiki.slembcke.net/main/published/Chipmunk Chipmunk] -- 2D physics engine, inspired by Box2D. Fast and simple, written in C.
 
* [http://www.bulletphysics.com/ Bullet] -- 3D engine, shares many of the same algorithms and concepts with Box2D.
 
* [http://www.bulletphysics.com/ Bullet] -- 3D engine, shares many of the same algorithms and concepts with Box2D.
  +
* [http://haskell.org/haskellwiki/Bullet Haskell Bullet] -- simple haskell binding for Bullet
 
* [http://www.ode.org/ ODE] -- popular 3D engine, written in C++.
 
* [http://www.ode.org/ ODE] -- popular 3D engine, written in C++.
 
* [http://physsim.sourceforge.net/ Physsim] -- modular 3D engine, written in C++. Inspired by ODE.
 
* [http://physsim.sourceforge.net/ Physsim] -- modular 3D engine, written in C++. Inspired by ODE.

Revision as of 15:54, 28 June 2008

Hpysics is a physics engine to be written using Data Parallel Haskell during Google Summer of Code 2008.

If you are interested, you can follow the blog: http://physics-dph.blogspot.com/

Check out the code with

 darcs get http://code.haskell.org/hpysics

Contents

1 References

2 Worthy physics engines

  • Box2D -- 2D physics engine, notable for "contact persistence algorithm".
  • Chipmunk -- 2D physics engine, inspired by Box2D. Fast and simple, written in C.
  • Bullet -- 3D engine, shares many of the same algorithms and concepts with Box2D.
  • Haskell Bullet -- simple haskell binding for Bullet
  • ODE -- popular 3D engine, written in C++.
  • Physsim -- modular 3D engine, written in C++. Inspired by ODE.

3 Modular physics engine architecture

3.1 core simulator

Combines all other components to perform simulation.

3.2 integrator

Method used to integrate ODE.

Physsim implements Euler and Runge–Kutta (implicit and explicit) methods.

3.3 collision detector

Algorithm which detects whether the two bodies overlap.

See also: PQP