One question about what happens when new work lands on old work. The pictures are small lattices: the hatched tile was already there, the solid tile is new.
Pictures are drawn from the real Paint Studio: its exact tile, circle and diamond paths, and lattice states produced by running the Studio's own code (Import, Line, Move, Duplicate, undo). Lattice: cell (i, j) is a circle when i + j is even. Where a picture shows something that is not built, it says so. Recommendations, where given, are marked as mine. Your answer saves in this browser; Copy and Download are at the end. Nothing is sent anywhere.
Shapes paint only empty ground, while Move, Duplicate and Import overwrite what is under them. Is that the right split?
| Shapes | shapes.js: "Shapes only paint empty ground; occupied cells are left as they are." A tail is steered away from a taken diamond cell, and put() refuses any piece whose cells are taken. |
|---|---|
| Move, Duplicate, Import | select.js (shiftLattice) and import.js: for every cell the new piece covers, the tile that owns that cell is deleted, then the piece is put. A tile owns two cells, so covering only its circle or only its diamond removes the whole tile. Verified by running the Studio's code (Fig. 2–3). |
| Erase, for comparison | Rubbing only a tile's diamond lifts the whole tile (verified). |
| Undo | Each drag is one undo (PAINT-ORGANISATION-NOTES.md). Verified here for Line, Move and Duplicate: one undo restores the exact earlier state. |
a tile already there (hatched)the new piecea tile that is lostdotted: where a moved tile came from
Shapes paint only empty ground. Move, Duplicate and Import overwrite, and a covered cell removes the whole tile that owns it.
Nothing is lost. The middle tile turns its tail up, away from the hatched tile's diamond. One undo removes the three new tiles (checked).
The whole hatched tile is lost, although only its diamond was covered: its circle cell is left empty. One undo brings it back (checked).
The whole hatched tile is lost, although only its circle was covered: its diamond cell is left empty. One undo brings it back (checked).
| Changes downstream | Nothing. |
|---|---|
| Breaks | Nothing. |
| Cost | Two rules to learn: drawing never destroys, moving can. A covered half-tile takes its other half with it. |
Line, Rectangle and Ring would clear what they cover, the way Move and Import do.
The whole hatched tile is lost, because the middle tile's tail now lands on its diamond. If it were built as one action, one undo would restore it (checked in a simulation using the Studio's own undo).
The whole hatched tile is lost, although only its diamond was covered: its circle cell is left empty. One undo brings it back (checked).
| Changes downstream | Shape tools stop steering tails round existing tiles; dragging a shape across finished work erases it. Symmetry copies of a shape would overwrite too. |
|---|---|
| Breaks | The Studio test "Shapes never overwrite existing pieces" would be reversed. |
| Not decided / not on file | Whether a shape would still turn tails away from taken cells, or lay its tiles exactly as on an empty canvas (the simulation does the latter). |
Move, Duplicate and Import would leave existing tiles alone, the way shapes do.
Nothing is lost. The middle tile turns its tail up, away from the hatched tile's diamond. One undo removes the three new tiles (checked).
Nothing is lost and nothing moves: the move is refused. There is nothing to undo.
| Changes downstream | Moving, duplicating or importing onto occupied ground stops working; you would erase first, then move. |
|---|---|
| Breaks | The Studio test that expects Duplicate to overwrite ("Duplicate copies beside the selection, overwriting what is there"). Import is described as overwriting in import.js; a test for that is not listed in the notes. |
| Not decided / not on file | Refuse the whole move, or skip only the pieces that collide. With skip, it is not decided whether a skipped piece stays where it was or is dropped, so skip is not drawn. The refusal message would be new. |
Nothing changes yet. Say what you would like to see, in the note.
No picture: this option is open.
Fills in from the boxes above. To answer on paper, tick one box.
| Q1 | Overwrite split: keep (A), all overwrite (B), all skip (C) | ABCD |
|---|