awesomeslop / generative / 002

quarter turns

One tile, four rotations. Loops that keep rewiring themselves.

ask claude to break it down ↗

the second button opens claude.ai with the prompt and a "break this down" question prefilled.

readme.md

quarter turns

Truchet tiles: one tile, four rotations, endless plumbing.

what you're looking at

Every square holds the same two arcs. Each arc starts and ends at the middle of a side, so whichever way a tile is rotated, its arcs always meet the arcs next door. No tile knows anything about its neighbours, yet the whole wall reads as continuous loops.

A tile turns every tenth of a second. One quarter turn reroutes two paths at once, so a single orange flicker can merge two loops into one or snap one loop in two.

things worth stealing from the prompt

  • Describing the rule, not the picture. The prompt never says "draw loops". It describes one tile and one rule, and explains why loops emerge. Agents do better when they understand the mechanism.
  • "Flat ends so arcs meet cleanly" heads off the most common flaw: round caps that bulge at every tile border.
  • Colour only while moving. The orange is how you find the change in a busy field.

try changing

  • turn two arcs into a diagonal line for the classic maze version
  • flip tiles in a travelling wave instead of at random
  • fill the regions between paths with two alternating colours