“Flood fill” refers to multiple variants of an algorithm (wikipedia: flood fill) for changing the color of pixels within contiguous area of like-colored existing pixel colors. Think paint bucket tool in Photoshop. In early computer graphics, the efficiency of operations that changed a few hundred pixel values was the paramount concern, and although a conceptually trivial procedural problem, flood fill algorithms bring elegance to the fore of discourse. However, that elegance is hidden within the process. How can that elegance itself manifest as image? Under normal circumstances, once the fill is complete, the algorithm is irrelevant, but if the algorithm is purposefully modified with a flaw the paradigm shifts from problem solving to artistic invention.

The tactic used to flaw the flood in this animation involves changing the fill color based on the direction moved since the last pixel checked. Four colors trace the target pixel’s movement up, down, left and right.

The flood fill algorithm and multiple flawing tactics are documents and further explored in the Computational Drawing Book.