I Saw It in a Dream

Steve Pikelny · 2021 · Factory

Sinuous ribbon-like cords ripple diagonally across the square, outlined in dark green and white against a coral-red field dotted with a fine halftone pattern. The wavy strands twist and overlap like flowing seaweed or tangled cables. The bold red-and-green contrast feels rhythmic, decorative, and gently hypnotic.
Steve Pikelny · via Art Blocks ↗ · © the artist
Sample output of I Saw It in a Dream
Steve Pikelny · via Art Blocks ↗ · © the artist
Sample output of I Saw It in a Dream
Steve Pikelny · via Art Blocks ↗ · © the artist
Sample output of I Saw It in a Dream
Steve Pikelny · via Art Blocks ↗ · © the artist

What do you see when you close your eyes and your retinas still burn from computer screen light?

How it works

The core is colouring around hue (an HSL cycle). It divides a tube into fine segments and wavers each with a sine wave, drawing an undulating tubular flow that stretches out. Further, it layers concentric ellipses to make a structure where light swirls at the centre of the field of view. The key here is the cycling of colour. By continuously turning the hue in HSB, flickering, afterimage-like colours arise, like the light of a screen that lingers on the retina even with eyes closed. True to the theme of the light seen when you close your eyes, the hash decides the flow's shape and how the hue turns, producing a hallucinatory scene as if seen in a dream.

Palette

From the generator script · 1
#000000
Extracted from outputs · 8
#ddd8da#f9f5f6#cabdc2#a19a90#74b892#d66863#69eda6#abc6b8

Algorithms

Details

Tools
p5.js
Runtimes
Browser (Canvas / 2D), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2021-07) → art-blocks
Script hash
33c88cc41dc55b7770972518fd550115ef617e6acd3135a5fc372677a2ef5e37
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #102

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

BUSIEST
james-merrill · 2025
BUSY
james-merrill · 2025
Diggly Collects All
dca · 2025
Drawings for a Monument
jeff-davis · 2025
Autoscope
erik-swahn · 2024
Twist
rafael-rozendaal · 2024
Ad Extremum Terrae
umatha · 2023
Augury
lovid · 2023

Last updated 2026-07-16