SWIsland Recursion Saga

“Every coastline is infinitely complex” — Stage

...loading...

Configure island settings and press Start.

Canvas:   Grid:

⚙️ Controls
ON = Fisher-Yates shuffle → organic shape
OFF = sorted top→left → predictable boxy shape
🌊 Fractal Coastline Stage 8

After all islands are placed, press the button below to transform their blocky grid borders into organic fractal coastlines using the midpoint displacement algorithm. Press again for a different random shape.

gently rolling (0.10) jagged cliffs (0.80)
Apply — enabled after all islands finish; click again for a new random shape. ↩️ Grid — go back to the rectangular island view without losing the island data.
🕳️ Ocean Pits
Toggle ON to click ocean cells and mark them as pits (click a pit again to remove it). Pits are too deep for island growth — the recursion must route around them. Seeds are auto-placed in IDLE state; pit placement is only available before pressing Start.
Pits placed: 0
📊 Recursion Cost
🏝️ Islands placed 0
✅ Cells added 0
↩️ Backtracks 0
📉 Backtrack ratio
🎨 Color Guide
  • Ocean — open water
  • Trying — current ADD attempt (yellow-green)
  • Island cells — 8 unique colors
  • Candidate hint — legal next moves
  • Backtrack — cell removed
  • Ocean pit — forbidden zone
📋 Recursion Log