Basic shapes

A reference gallery of the basic shapes used elsewhere in these tools, each drawn on its own canvas. Every shape is scaled to fill its canvas right up to the borders.

The familiar quadrilaterals and triangles, a few deliberately irregular ones, plus regular polygons, a star and a circle.

Each shape is centred and scaled so its bounding box reaches the canvas edges (leaving a couple of pixels so the outline is not clipped). Aspect ratio is preserved, so shapes that are not as wide as the canvas are centred horizontally.