BYOB Birmingham 2013 Pieceby Sebastian Lenton

This is a simple physics-based visualiser of sorts, using box2DJS. Objects fall from the top of the screen, and using the mouse you can draw in polygon shapes to direct their trajectory. In addition, a number of parameters can be controlled via the keyboard including colour, feedback, mirror mode, circle/square and more.

Please note when drawing: only convex shapes work, and shapes have to be drawn in a clockwise direction. Otherwise, the shape will appear but objects will just fall through. If you draw a "bad" one then press p to get rid of it. You can simulate concave shapes by drawing overlapping convex shapes.

Keyboard Controls

mouse - left click to draw a polygon point (convex, clockwise only) at the current mouse position. Draw several lines and connect them together to create a solid polygon.