Divergence
Loren Bednar · 2023 · Presents
DIVERGENCE Divergence, a never-ending abstract motion work, reacts to audio and touch inputs. Dive into stacks of deterministic layers to explore emerging patterns, and fine-tune the audio reactivity to your preferences. You may wish to use the controls to wander within Divergence until the aesthetic feels right to you, or complements your audio input. Navigating the art in this way gives a tangible window into my artistic process. My aesthetic is influenced by the music I listen to as I code. I enjoy experimenting and looking for the art in the algorithm. This can mean playing with overarching ideas, but also making many small changes until I find consistent visual appeal over a range of outputs. Divergence exhibits animations changing over time in expanding, textural layers. It elaborates on concepts I’ve developed in previous works: my approach to color in phase; linear motion in Parade; interlacing lines and expansion/contraction in Kaleidoscope; and the noise textures of Sift. Newly explored is continuous animation with touch and audio inputs, which affect the viewing position in time and space. A common quip in the Art Blocks community is that motion art has a penalty. Many enjoy a final product that is printable to frame at home. As technology advances, I believe it is equally important to create work that can only exist on a screen, and is unique to digital art. Larger displays are catching up to the artistic space and becoming more accessible, but I also want my work to be approachable immediately. Keeping the code lean and performant allows it to run well on a range of screen sizes and processor powers, from mobile devices to multi-story displays. There has been discussion that a body of motion work takes a long time to sift through, as it needs to be viewed live. In consideration of this, I made Divergence immersive, rather than a static experience. I want the extra time spent with it to be fun and entertaining. Usage: Navigate left/right to traverse the timeline; navigate up/down to travel through the layers and expand/contract the patterns. Please see “Display Notes” for further instructions (user input, audio reactivity, url parameters). Accessibility is important to me, so Divergence accepts inputs from touch, keyboard, mouse, and gaming controllers with an analog stick. *Photosensitive seizure warning: These artworks contain flashing colors and moving patterns.
How it works
The core is raymarching by a fragment shader. Using a distance function that advances a light ray step by step per pixel, it draws abstract solid patterns and stacks them deterministically in many layers. As endless motion, it makes a structure where new patterns appear the deeper into the layers you dive. Further, it responds to audio input and touch, with the sound's features wavering the shader's parameters to change the pattern. Designed so the viewer can operate it to explore a preferred look and harmony with the sound, the combination of layers and audio-reactive fluctuation produces an ever-changing image.
Palette
#000000#f9de59#e8a628#f98365#c33124#a1dffb#ff6d69#fecc50#0be7fb#010b8b#1e0521#e9ff88#fe0ab7#e50185#111010#d0ccd1#b3e7dc#a6b401#eff67b#d50102#6c0102#007b00#24e0b8#ffcc51#ff8b76#ff3031#a94300#ffb000#ffdf00#5b9b37#153d02#a10532 +128 more #13130c#846521#402058#4f77a5#dc00e3#d6e0e9#960098#8eaac7 Algorithms
- Fragment Shader (GLSL) primary · classification: rule-based
- Audio-Reactive · classification: rule-based
- Raymarching with SDFs · classification: rule-based
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16