Balls in a Rotating Heptagon
Each ball has angular motion and its number rotates with it. The heptagon rotates at a constant rate. Collisions with walls and other balls are simulated with damping and friction.