Skip to content
The Scroll Art Museum

Toggler 2

Al Sweigart, 2024. Paired togglers travel in opposite directions to form expanding triangular patterns.

Toggler 2 begins each shape by placing two togglers in the same column. One travels left while the other travels right, switching columns between two characters as they move. Changing the distance traveled on each step alters the angles and texture of the overlapping triangles.

Python source code

Customize
Settings