Each diagram shows a circle cut into n equal-area pieces by a sequence of
straight cuts, where every cut starts exactly where the previous one ended.
R / L configurations
The first and last cuts are fixed. At each cut in between you choose to keep the piece on the
Right or the Left, so a string like RLLR names one
configuration. For a given n there are 2^(n-3) distinct configurations.
Configuration controls
- n values — one or more sizes, separated by spaces or commas (e.g.
6 7 8). Generates every configuration for each n.
- Choices — show specific configurations instead. Accepts shorthand:
L3R2 = LLLRR, (LR)3 = LRLRLR. Overrides n.
- Sample / Seed — show N random configurations per n; the seed
makes the random pick reproducible.
- Max cards — if an n has more configurations than this, it auto-samples that
many at random (so the browser isn't asked to draw thousands at once).
Display
- Shading — fill sections with colour. Adjacent sections always get different
colours.
- Cut lines — draw the black cut segments.
- Labels — number each section in cut order.
- Circle outline — draw the outer circle.
- Card size — minimum width of each diagram in the grid.
Export
Set a filename, then Download PNG (a pixel image — use the scale
multiplier for a higher-resolution, sharper file) or Download SVG (a vector image
that stays perfectly sharp at any size). The saved image matches exactly what's shown.