Cosmic Reef
Leo Villareal · 2022 · Curated
“A particular order can be found in deepest space, in our oceans and forests, and in all living things, including ourselves – a unified code producing endless variation. Gravity and cosmic winds shape star-forming nebulas into coral-like forms. Flowers self-organize in radial symmetry with signals hidden from the human eye. Stars are birthed, explode, collapse, and are reborn. Invertebrates move on the tides of oceans, signaling with ever-changing bioluminescence. Light bends time as events unfold in our own lives.” Cosmic Reef reflects on the ordered randomness in nature, capable of producing beauty and symmetry. The individual works begin with a simple geometry that becomes more complex through composed dynamic layers, each born of a combination of human control and computational chance. Leo Villareal creates intricate sculptures that speak to the underlying rules and structures of systems for both gallery and public settings. He is interested in exploring ways to express this through base units such as pixels and binary code. Villareal is most known for two monumental public artworks: The Bay Lights, a site-specific light sculpture that occupies the entire western span of the San Francisco-Oakland Bay Bridge, and Illuminated River, a series of generative light sculptures installed on nine bridges over the River Thames in London. CONTROLS: “Z”: Journey along the Z-axis Cosmic Reef is graphics intensive & requires a WebGL2-enabled browser.
How it works
The core is raymarching (SDF). By advancing light rays step by step through a 3D space expressed by a distance function to find the surfaces, it draws organic solids like coral or a nebula, pixel by pixel (a shader on THREE.js). True to the idea that gravity and cosmic wind shape interstellar clouds into coral-like forms, changing the SDF's shape parameters with the hash expresses a 'unified code and infinite variation' that runs through deep space, the undersea and life alike. The soft light and density peculiar to raymarching produce a different organism at every point.
Palette
#392a3c#53435a#675578#915c55#8d6b98#dd5ba7#fa80ef#b88958 Algorithms
- Raymarching with SDFs primary · classification: rule-based
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16