Autoscope

Erik Swahn · 2024

Sample output of Autoscope

In *Autoscope*, Erik Swahn returns to the theme of color as building material from previous series such as *Farbteiler* (2021), *Punktwelt* (2022) and *Funktor* (2023). His new series as a whole describes an abstract universe consisting only of color, with each piece depicting a different scene within that universe. Whereas many of Swahn's previous series have had objects as their motifs, *Autoscope* rather portrays places in the form of configurations of simple geometries. Mountains are implied through pyramids and cones, ocean swell through sine waves, and barren forests through arrays of cylinders. Some places are inhabited by primitive geometries moving through space. In a number of different tableaux, rendered in perspectiveless projection, the series evokes a very reduced sense of place, or perhaps recollection of place, sometimes with parts of the images blurred or distorted. In some scenes, even parts of the geometries are subject to erasure. In contrast to this barrenness, each scene is rich in saturation, movement and animated intensity, pulling the viewer into a chromatic world of its own peculiar logic. Click or press space to pause/play. Press left or right arrow to go back or forward 10 frames. Press esc to rewind to the beginning of the 60 second loop. Press 's' to save a PNG image. Press 4/6/8 to force the resolution to 4000/6000/8000 pixels height (note that different browsers have different canvas size limits). Press 0/1 to reset the resolution. Specify a forced height by adding a parameter in the format &h=4000 to the URL and a PNG will be automatically downloaded.

How it works

sketch.js procedurally assembles GLSL SDF scenes — sdf() emits primitives (box/sphere/cylinder/house/tree/person/bird) composed via min/max into raymarched fragment shaders (credits IQ SDF primitives + glsl-hsl2rgb), driven by gradient noise.

The core is "raymarching of a three-dimensional scene by means of a signed distance function (SDF)". sketch.js programmatically assembles GLSL, and sdf() emits, in addition to boxes, spheres, cylinders and cones, representational primitives such as houses, trees, people and birds, compositing them into a single distance field via union and difference using min / max. The resulting buffer.frag / main.frag are raymarched inside the fragment shader to draw the solids with shading. Colour is handled by a method that converts HSL directly to RGB (glsl-hsl2rgb), and gradient noise wobbles both the form and the colour. The header carries an acknowledgement to Inigo Quilez's SDF primitives, and characteristically it repurposes a textbook vocabulary of distance functions for the making of miniature scenes. Which primitives are arranged and how varies per token, generating anything from abstract masses to narrative little worlds.

Palette

From the generator script · 397
#f0f8ff#faebd7#00ffff#7fffd4#f0ffff#f5f5dc#ffe4c4#000000#ffebcd#0000ff#8a2be2#a52a2a#deb887#5f9ea0#7fff00#d2691e#ff7f50#6495ed#fff8dc#dc143c#00008b#008b8b#b8860b#a9a9a9#006400#bdb76b#8b008b#556b2f#ff8c00#9932cc#8b0000#e9967a +365 more
Extracted from outputs · 8
#2f282e#dff1f2#206b94#41a6d4#e17534#8d4239#c98e85#75c26c

Algorithms

Details

Runtimes
Browser (WebGL / GLSL)
Movement
Long-form Generative Art
Medium
Real-time software
Relations
released-on → verse
On-chain
ethereum · 0xe7ed54673455193f1d4448c88c6544fd93a237c0

Sources

Related works (by shared algorithms)

Immaterial
bj-rn-staal · 2023
Cosmodesias
santiago · 2022
Kai-Gen
takeshi-murata-christopher-rutledge-j-krispy · 2021
Gas Wars
jack-butcher · 2025
Bokeh (lamps)
mpkoz · 2024
Bokeh
mpkoz · 2024
Cytographia
golan-levin · 2024
Melancholic Magical Maiden
emi-kusano · 2024

Last updated 2026-07-16