Skip to content
The Scroll Art Museum

Tri Grid Scaffolding

Al Sweigart, 2024. A triangular grid in cyclic densities.

Tri Grid Scaffolding presents a grid of triangles that is slowly filled in and then dismantled each cycle. The full pattern looks like this:

This program removes one side of the triangles at random with increasing and decreasing probability, creating a pattern that looks like the following:

Notice that two slashes or underscores are removed together, so there is never a "half-filled" side of a triangle.

Python source code

Customize
Settings