Skip to content
The Scroll Art Museum

Toggler

Al Sweigart, 2024. Triangular patterns toggled between two characters.

Each column prints one of two characters. Randomly, a "toggler" appears and switches which character the column prints and then moves to the left or right. This creates triangle-shaped regions of toggled values. As more togglers spawn and overlap, the implied shapes become more chaotic and inscrutable.

Python source code

Customize
Settings