Waterwheel

One Box2D body turns a whole group of graphics, and a group scrolls under it. It runs right here in your browser.

Loading the wheel...

Turn it

Rotate by any number of degrees, go to an angle, or keep stepping one paddle at a time. The wheel eases in and stops exactly where you asked.

Let it run

Press Free spin, Flick or Reverse, drag the wheel to throw it, then turn up Friction. Tick Pour water and the water alone turns it.

Written in xTalk

The whole demo is one OXT-Beyond stack in xTalk Script. Box2Dxt runs the physics, and every graphic in the group redraws from the one body's angle.