Flood fill: paint one connected region
Native Squeak 6.1 build 23976. File in flood-fill.st using File List.
Do it: view := LSFloodView open. Then send view next. seven times.
Reset restores the original 9 by 7 map. The fixed layout needs 980 by 620 pixels.
File in flood-fill-tests.st, then Print it: LSFloodTest suite run. Expected 16 passes.
No network, timers or persistence. Close window to clean up.
The GIF is genuine imageForm captures of eight scripted states, not a mouse recording.
Model uses Character values, four neighbors, and marks on enqueue. Seeding # recolors the connected # region.
finish is synchronous; do not edit the grid during an active fill. Processed queue entries remain until a new fill starts.
