nuna library · gap shape generator

Nine decisions, by looking

Maybe, undecided (28 Nov). This page is built on the ring-family view of gaps. On 29 Oct the gap generator’s view changed: only the circle and the diamond are true gaps, any other space can be filled with nuna tiles, and the ring-family view was set aside. Gaps also left the Shapes tab on 27 Nov. Whether the ring family stays as a catalogue is still open: Aaron’s answer was “I don’t know, maybe.” Q8 is settled and Q9 is a quick decision (notes below).

Each page asks one question with pictures of every choice. Tick one box per question; a note is optional. Every shape here is drawn by the gap shape generator itself, with exact arcs, black on white. Dashed outlines mark a shape's centre; thin white lines show where a shape cuts into nuna tiles.

Recommendations are marked, with what the project files say kept apart from what is inferred. They are suggestions only. Answers save in this browser as you go; the last page has Copy and Download buttons.

Question 1 of 9

What is the first tier?

When you say "a circle with four diamonds, then circle-diamond-circle," which of these is the first tier? They differ in how freely the cells around the centre may be chosen.

Sources: the generator as built (110 shapes). Claude's check re-derived 5 and 50 per centre, 110 in all, and option C's 168 per centre (336; 301 by outline). The 55 per centre here (5 + 50) is not the Shapes catalogue's 55 gaps.

A

Full rings only

Only complete rings count. The first tier is just the two base cases, and each tier adds one more full ring. 3 shapes per centre up to ring 2 (6 in all).

C|1111
GG·Cfull1
C|1111
files: G5·24
D|1111
GG·Dfull1
D|1111
files: G5·06
C|1111|11111111
GG·Cfull2
C|1111|11111111
D|1111|11111111
GG·Dfull2
D|1111|11111111
B

A centre with any choice from its ring (built now) recommended

Tier 1 is the centre plus any of its four neighbours: 5 per centre. Tier 2 is the full base case plus any of the next eight: 50 per centre. This is what the generator lists today (110 shapes).

C|1100
GG·C1·03
C|1100
files: G3·03
D|1110
GG·D1·04
D|1110
files: G4·01
C|1111|10000000
GG·C2·02
C|1111|10000000
files: G6·18
D|1111|11000000
GG·D2·08
D|1111|11000000
C

Partial inner rings too

Any connected cluster within two rings of the centre that reaches the second ring, so the inner ring need not be full. 168 per centre (336 in all). Already computed, not drawn as a set.

C|1000|11000000
C|1000|11000000
C|1010|11001100
C|1010|11001100
C|1100|11110001
C|1100|11110001
D|1000|11000000
D|1000|11000000
D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: B. It reads "different combinations" the way the cousins work: one piece added at a time around a whole circle, one to four.
Inferred. The files say nothing about tiers or rings; the cousins reference counts the circle plus 1–4 offcuts (k = 1–4), which B mirrors.
Aaron's answer
Question 2 of 9

Shapes that cut into nuna tiles

Some ring shapes can be cut cleanly into whole nuna tiles, so they aren't really gaps. The smallest is the nuna tile itself; 18 more turn up in tier 2 (white lines show the cuts). Should the generator keep them?

Sources: the generator's 110 shapes; the Shapes catalogue's 55 gaps (a file that has often not been in the project; question 9). Claude's check: the tile-cutters are 2 in tier 1 and 18 in tier 2, leaving 8 and 82 true gaps. Option C's 100 shapes of 1 to 6 cells are not tier 2's 100.

C|1000
GG·C1·01
C|1000
a nuna tile
D|1000
GG·D1·01
D|1000
a nuna tile

The 18 tier-2 shapes that cut into tiles, four tiles each:

C|1111|01010100
GG·C2·09
C|1111|01010100
C|1111|10010100
GG·C2·10
C|1111|10010100
C|1111|10100100
GG·C2·11
C|1111|10100100
C|1111|10101000
GG·C2·12
C|1111|10101000
C|1111|11000001
GG·C2·13
C|1111|11000001
C|1111|11000010
GG·C2·15
C|1111|11000010
C|1111|11000100
GG·C2·16
C|1111|11000100
C|1111|11001000
GG·C2·17
C|1111|11001000
C|1111|11010000
GG·C2·18
C|1111|11010000
D|1111|01010100
GG·D2·09
D|1111|01010100
D|1111|10010100
GG·D2·10
D|1111|10010100
D|1111|10100100
GG·D2·11
D|1111|10100100
D|1111|10101000
GG·D2·12
D|1111|10101000
D|1111|11000001
GG·D2·13
D|1111|11000001
D|1111|11000010
GG·D2·15
D|1111|11000010
D|1111|11000100
GG·D2·16
D|1111|11000100
D|1111|11001000
GG·D2·17
D|1111|11001000
D|1111|11010000
GG·D2·18
D|1111|11010000
A

Keep them, marked "cuts into tiles" recommended

The generator still lists all 110, each tile-cutter marked. The Gaps catalogue on /shapes is unchanged: it still counts only true gaps.

C|1111|01010100
GG·C2·09
C|1111|01010100
marked: tiles
C|1111|11000001
GG·C2·13
C|1111|11000001
marked: tiles
D|1111|10101000
GG·D2·12
D|1111|10101000
marked: tiles
B

Drop them

The generator lists true gaps only: 8 in tier 1 and 82 in tier 2. This is the files' rule for Gaps.

C|1111|01010100
GG·C2·09
C|1111|01010100
left out
C|1111|11000001
GG·C2·13
C|1111|11000001
left out
D|1111|10101000
GG·D2·12
D|1111|10101000
left out
C

Count them as gaps too

Changes what "gap" means. The Shapes catalogue's 55 would no longer match; it would grow to every shape of 1–6 cells (100).

C|1111|01010100
GG·C2·09
C|1111|01010100
gap
C|1111|11000001
GG·C2·13
C|1111|11000001
gap
D|1111|10101000
GG·D2·12
D|1111|10101000
gap
D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: A. Keeping them marked loses nothing, keeps the Gaps catalogue exactly as it is, and shows where the rings land on whole tiles.
The files define a gap as a shape that cannot be cut into whole tiles (LIBRARY SHAPES, gaps page), so B is the files' rule. Keeping them in the generator is my suggestion.
Aaron's answer
Question 3 of 9

One shape, two centres

Two ring shapes can turn out to be the same outline seen from a different centre. Here a circle-centred and a diamond-centred shape are the same shape (dashed: the centre). Count them as two, or one?

Claude's check: the 110 entries by centre are 108 distinct outlines; option C's 336 are 301.

C|1111|11000001
GG·C2·13
C|1111|11000001
centre: circle
D|1111|11000001
GG·D2·13
D|1111|11000001
centre: diamond
C|1000
GG·C1·01
C|1000
centre: circle
D|1000
GG·D1·01
D|1000
centre: diamond

Left pair: the same 8-cell outline, turned over. Right pair: the nuna tile, from either end. These are the only two cases among the 110; both cut into tiles, so every true gap is counted once either way.

A

Count by centre: 110

Each ring recipe is its own entry. The same outline can appear twice, once per centre.

C|1111|11000001
1 of 2
D|1111|11000001
2 of 2
B

Count by outline: 108

One entry per outline, as the Shapes catalogue does; its other centre is listed on the same card. (Partial-ring reading: 301 instead of 336.)

C|1111|11000001
one card, two centres
C

Both: centre count leads, outline count shown recommended

Lists 110 as built, and says "108 distinct outlines" beside the count.

C|1111|11000001
110 entries
D|1111|11000001
= 108 outlines
D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: C. The rings are built from a centre, so the centred count is the natural one, and showing the outline count keeps it comparable to the Shapes catalogue.
The files count shapes as outlines, under any shift plus the 8 turns and mirrors. Centred counting comes from your description, and the "both" option is my suggestion.
Aaron's answer
Question 4 of 9

Colour twins

Swap every circle for a diamond and every diamond for a circle and you get the shape's twin. Your two base cases are twins. Are they one family or two?

Sources: the Shapes catalogue's twin pairs (G5·24 and G5·06).

C|1111
GG·Cfull1
C|1111
files: G5·24
circle with four diamonds
D|1111
GG·Dfull1
D|1111
files: G5·06
diamond with four circles
A

Two families, linked as twins recommended

Each keeps its own entry and code, and each card names its twin. This is how the Shapes catalogue already treats gaps (G5·24 and G5·06).

C|1111
G5·24 → twin G5·06
D|1111
G5·06 → twin G5·24
B

One family, shown as a pair

One entry carries both drawings. Circle- and diamond-centred lists merge; counts halve (tier 1: 5 families, not 10).

C|1111
D|1111
one entry
C

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: A. It matches how the Shapes catalogue already files gaps, with separate codes and a twin link, so nothing there would have to change.
The files: the Shapes catalogue keeps 27 circle-heavy and 27 diamond-heavy gaps separate and links each to its "colour twin" (LIBRARY SHAPES). The recommendation is my inference.
Aaron's answer
Question 5 of 9

What to call each shape

Every generated shape needs a name. Right now it has a recipe (which cells are filled, ring by ring) and a working label. Which should the Library show?

Sources: the generator's ring codes; the Shapes catalogue's G-codes.

C|1111|10000000
Recipe (ring code)C|1111|10000000
centre | ring 1 | ring 2, each ring read clockwise from the top
Working label (temporary)GG·C2·02
Same shape in the Gaps catalogueG6·18
A Library-style number (example only)GR2·C·02
illustrative format, not proposed as final
A

The recipe is the name

Shapes are shown and searched by their ring code. Exact and self-explaining, but long.

C|1111|10000000
B

A Library number, recipe underneath recommended

Each shape gets a short number in tier order; the ring code is printed beneath as its recipe; "same as G6·18" is shown where one exists.

GR2·C·02C|1111|10000000same as G6·18
C

Gap code first where one exists

Shapes of 6 cells or fewer use their G-code (G6·18); larger ones get a new number. One shape, one name, but two numbering systems.

G6·18C|1111|10000000
D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: B. Short numbers read like the rest of the Library, and keeping the recipe underneath means no shape loses its exact description.
The files: Library codes follow the pattern tier·number (combination shapes) and G + cells·number (gaps). The ring code and GR2·C·02 are my working inventions.
Aaron's answer
Question 6 of 9

Filling a gap

You ruled that a gap space is fillable by nuna tiles and/or circles and diamonds. When the Library says a gap is "filled," which pieces may be used? Shown on the circle with four diamonds (faint line: the space).

Sources: Aaron's fillability ruling as quoted above.

A

Whole nuna tiles only

A space is filled only by tiles. A true gap can never be filled this way (that is what makes it a gap), so this test would only ever pass for the tile-cutters in Q2.

C|1111 filled: tiles
one tile fits; three diamonds left
B

Loose circles and diamonds only

Every space is filled cell by cell. Always possible, so it says little about the shape.

C|1111 filled: loose
five loose pieces
C

Both: tiles where they fit, loose pieces for the rest recommended

Fill with as many whole tiles as fit, then loose circles and diamonds. Each gap gets a "tiles + leftovers" count.

C|1111 filled: both
one tile + three loose diamonds
D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: C. It follows the "and/or" in your ruling, and the leftover count is a useful number for each gap.
Your ruling, and A New Shape p. 70 ("additional tiles, circles, or diamonds"). The files hold no fill test. How fills relate to the cousins is not settled, and this question does not settle it.
Aaron's answer
Question 7 of 9

The two balanced 8-cell gaps

Two tier-2 gaps have as many circles as diamonds (four each), like G6·12, the only balanced gap in the catalogue, which tiles the plane on its own. Should these two be searched the same way?

Sources: the Shapes chat's gaps data for G6·12, the only balanced gap in the catalogue; that file has often not been in the project (question 9).

C|1111|11100000
GG·C2·14
C|1111|11100000
4 circles, 4 diamonds
D|1111|11100000
GG·D2·14
D|1111|11100000
4 circles, 4 diamonds
G6·12
G6·12
files: tiles alone
3 circles, 3 diamonds

The options are about what to run, so they have no pictures of their own; the three shapes above are the closest picture.

A

Search them now recommended

Run the same search used for G6·12 (repeating blocks up to 72 cells). Result: "tiles alone", or "none found" (open, not ruled out).

B

Later, with all of tier 2

Wait and run every tier-2 shape through tiling searches together.

C

Not needed

Leave them as catalogued.

D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: A. The search and its checker already exist from the Shapes work, and a balanced shape is the only kind that can repeat alone.
The files: the balance law, and that G6·12 tiles alone (LIBRARY SHAPES). That these two are worth searching first is my inference; nothing has been run on them.
Aaron's answer
Question 8 of 9

The Starting Kit says the opposite

Settled on 9 Oct 2026 (I-01): circles sit where the coordinates add to an even number. Only the Starting Kit's wording is open here. The Starting Kit, which new chats paste in as ground truth, says odd. Should it be corrected?

Sources: parity ruling I-01 (9 Oct 2026). Not asked here: the live board code may still use the old check; board option B moved the board to the even convention.

q8-ruling-even
Your ruling and the Technical Reference
centre point (0,0) is a circle
q8-startingkit-odd
Starting Kit (as written)
centre point (0,0) is a diamond
Starting Kit (Nuna-Starting-Kit (1).md)"A lattice point is a CIRCLE when i+j is odd, a DIAMOND when i+j is even."
Technical Reference (nuna-combination-shapes-reference.md)"Circles live on even nodes (x+y even), diamonds on odd nodes."
A

Correct the Starting Kit to even recommended

One line changes in the Starting Kit. New chats then start with the same convention as everything built.

B

Leave it, add a warning note

The sentence stays; a note beside it says the Library uses even.

C

Leave it as it is

Nothing changes. Each new chat has to be told.

D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: A. The block is pasted into new chats as "ground truth," so the wrong parity spreads every time it is used.
Both sentences are quoted from the files. This quiz edits nothing; correcting it would be a separate step.
Aaron's answer
Question 9 of 9

Put the gap files into the project?

The 55 gaps used for comparison come from files that aren't in the project: your nuna-gaps tool and the Shapes chat's gaps data. Should they be added so the comparison can be checked directly?

Sources: the 55 gaps and the 598 proved tiling pairs (131 with none found) are known here only from the conventions; the files have often not been in the project. That 598 is not the 598 groupings of the 16-point badge.

Where the 55 gaps come fromnuna-gaps.htmlAaron's tool — not in filesgaps.py / gaps.jsonShapes chat — not in filesgaps55-port.jsthis generatorcheckedshape byshapeported;countsonlydirect checkif the files are added
Where it is nowWhat adding it would allow
nuna-gaps.htmlYour upload in the LIBRARY SHAPES chatCheck every G-code against your own tool, shape by shape
gaps.jsonShapes chat output (Library site source)Read the 55 directly instead of rebuilding them

Today the generator's port matches only the published totals (55 / 45 / 27-27-1). The shape-by-shape match was done in the Shapes chat, not here.

A

Add both recommended

Both files go into the project. The next build checks every G-code directly.

B

Add only gaps.json

The data goes in; the tool stays where it is. G-codes can be checked against the data, not the tool.

C

Leave as is

The port and its count checks stay as the only link.

D

Something else / I need to see more

Nothing changes yet. Say what you would like to see, in the note.

No picture: this option is open.

Recommendation: A. It turns an inherited check into a direct one, at the cost of two files.
The files: neither is among the project files (checked). Recommendation is mine.
Aaron's answer
Answer sheet

Aaron's answers

Fills in from the boxes above. To answer on paper, tick one box per row.

Q1What is the first tier?ABCD
Q2Shapes that cut into nuna tilesABCD
Q3One shape, two centresABCD
Q4Colour twinsABC
Q5What to call each shapeABCD
Q6Filling a gapABCD
Q7The two balanced 8-cell gapsABCD
Q8The Starting Kit says the oppositeABCD
Q9Put the gap files into the project?ABCD