ATOMS

Casey REAS · 2023

A diagrammatic composition on a dark brown ground. At right, a large glowing cube shaded as a magenta–red–purple gradient. At left, two small panels — a spray of fine green line-traces above, and a red-green-blue banded field like a spectrogram below. Dotted white wavy lines thread horizontally across, linking the parts.
Casey REAS · via Art Blocks ↗ · © the artist

A fully generative, synthesized work by Casey Reas built on the idea of the pixel as the atomic unit of the digital image. Static "gooey" colour patterns generated by combining sine waves form the core; each pattern then drives three further diagrammatic representations of itself — colour blocks, RGB signals, and extruded terrain. Descended from Reas's 2003 C++ experiment ORA and foundational to his LACMA "An Empty Room" and "923 Empty Rooms," ATOMS treats images as data and data as images.

How it works

One 400×400 colour field is generated by multiplying two slow sine waves, then the same field is re-read three ways in real time — as scrolling colour blocks, as R/G/B oscilloscope signals, and as a rotating 3-D point terrain — so a single image and three diagrams of it share the screen.

The token hash seeds a small xorshift PRNG (the `RND` class: `seed ^= seed<<13; seed ^= seed>>17; seed ^= seed<<5`), which draws every random choice. First `generateRandImage()` paints a 400×400 offscreen buffer in `waves()`: for each pixel it accumulates two angles at tiny speeds (0.00001–0.0005 rad/pixel) and sets the HSB hue to the PRODUCT of two mapped sines — `hue = map(sin(a1),-1,1,0,1) * map(sin(a2+angle3),-1,1,0,1) * 360`, with `angle3` a vertical ramp of `TWO_PI·wscale`. Because the hue is a product of near-commensurate sines, the field reads as soft "gooey" interference blobs; the raw hue of every pixel is also stashed in `newImgData[]`. Two "wave type" variants (1 vs 2) change how the second sine mixes, and ~40% of outputs set `doubleWaves`, averaging a second wave field into the first. That single field is then the data source for three simultaneous diagrams drawn each frame in WEBGL: `blocks()` lays a diagonal run of squares coloured by `newImgData` (colour blocks); `signals()` walks `pg.pixels` and plots the R, G and B channels as three stacked point-traces (an oscilloscope of the image); `dots()` scatters a point cloud whose per- point depth/colour comes from `newImgData`, slowly rotated about Y (extruded terrain). `signalIndex` and `blockIndex` advance a few samples per frame so the blocks and signals scroll through the data while the image itself stays fixed — image and data reading each other. A rare `weirdo` flag (~5%) recolours the background from the image instead of Reas's dark blue. This decomposition is grounded in the actual on-chain generator script (sha-256 5ea9a929…, recorded above), not reconstructed.

Details

Tools
p5.js
Runtimes
Browser (Canvas / 2D), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2023-08) → art-blocks
Script hash
5ea9a929e1b2c32e707f56585c44d11e547a9642830cc10c5d57e6c1626f8a98
On-chain
ethereum · 0x294fed5f1d3d30cfa6fe86a937dc3141eec8bc6d · #1

View generator ↗ · Art Blocks ↗

Sources

Last updated 2026-07-16