Sunday, September 12, 2010

Box2D with SFML Test #2: Arch

I made another test project, built on the first one. This time I used the polar equation of an ellipse to draw a self-supported arch out of polygon blocks. Math is fun :) . Movement and rotation of the main square are the same, though I took out the gravity changes and random forces for simplicity:

windows exe/binary
source code/project