Skip to content
The Scroll Art Museum

DNA

Al Sweigart, 2026. A repeating double helix twists down the terminal with paired DNA bases between its strands.

Carefully indented rows make the two sides of the helix appear to cross, separate, and reconnect. Letters representing adenine, cytosine, guanine, and thymine form the base pairs within the scrolling structure. Based on Project 21 in Sweigart's The Big Book of Small Python Projects.

Python source code

Customize
Settings