description

polygon playground is a physics-based 2D interaction sandbox inspired by Boom Blox Bash Party. Built using modern C++ and OpenGL, it allows users to create, manipulate, and destroy polygon structures with a variety of tools.

Eraser demo Eraser: 1, E

Click on a polygon to delete it.
Select many polygons, then click.

Pencil demo Pencil: 2, P

Click to create polygons.
Scroll to increase height.
Shift + scroll to increase width.
Ctrl + scroll to rotate.
Right click to cycle # of edges.

Flick demo Flick: 3, F

Click and drag to flick a polygon.
Select many, then drag one to flick all.

Grab demo Grab: 4, G

Click and drag to move polygons.
Select many and drag empty space.

Select demo Select: 5, S

Click and drag to select polygons.
All within the box become selected.

View demo View: 6, V

Mouse wheel to zoom.
Click and drag to pan.
Use Space to quick toggle.

Shortcuts

Del — Delete selected polygons
Ctrl+C — Copy
Ctrl+X — Cut
Ctrl+V — Paste
Ctrl+D — Duplicate

Other

R — Reset
ESC — Quit

libraries