This Is Not A Rock

Nicole Vella · 2023 · Curated

A single craggy boulder floats centred against a dim grey wall faintly inscribed with text. Its faceted surface glints in mineral teal, deep green and pale veins, lit as if a museum specimen. The suspended mass feels uncanny and contemplative, weighty yet impossibly hovering in shadow.
Nicole Vella · via Art Blocks ↗ · © the artist
Sample output of This Is Not A Rock
Nicole Vella · via Art Blocks ↗ · © the artist
Sample output of This Is Not A Rock
Nicole Vella · via Art Blocks ↗ · © the artist
Sample output of This Is Not A Rock
Nicole Vella · via Art Blocks ↗ · © the artist

One day in 1991, I went swimming in a lake. Going out to the deepest point where I could still tippy-toe touch, I felt a large, smooth rock with my feet. I could barely dig it out and bring it to the surface. [That rock](https://express.adobe.com/page/yTCRoiQjChyRe/#rock) is still with me. I once thought I lost it. Six months later, I found it in the trunk of my car. I threw a party to celebrate its return, but it was just us two. The rocks you see here are not my rock. They are not rocks. They are not even images of rocks. They're code. But does that matter? If I were to show and ask you "What is this?", you'd probably say "It's a rock". So then, what is it? The title and imagery borrow from René Magritte's paintings [Treachery of Images](https://en.wikipedia.org/wiki/The_Treachery_of_Images) and [The Castle of the Pyrenees](https://en.wikipedia.org/wiki/The_Castle_of_the_Pyrenees). Like those paintings, *This is Not a Rock* acts as a gateway to introspection and encourages the viewer to question what they are looking at while thinking about the interplay between object, representation, and truth. *This is Not a Rock* continues my exploration into Quines (software which outputs its own source code). In the scene, a large rock hovers, defying gravity. Behind the rock, a backdrop of computer code; combining the digital and the physical. The code you see is is the actual code used to generate the scene. It is all created inside a single-pass fragment shader with Javascript and GLSL, and rendered using a technique called Raymarching. Keyboard Commands: Press [L] to save an image. Press [Z] to zoom in/out.

How it works

The core is raymarching (SDF). Tracing a solid expressed by a distance function with light rays, it draws, pixel by pixel, an organic form like a smooth stone found on a lakebed ('this is not a rock'). A fragment shader and text (fillText) are then combined in. By giving the solid carved out with the SDF texture and colour through the shader, a smooth, palpably present 'rock-like thing' arises. The distance-function parameters produce a different form at every point.

Palette

From the generator script · 4
#222222#333333#ffffff#666666
Extracted from outputs · 8
#cbcbca#292724#363636#9b8f8a#63605f#4b4b42#18191a#76816f

Algorithms

Details

Tools
Vanilla JavaScript
Runtimes
Browser (Canvas / 2D), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2023-09) → art-blocks
Script hash
1804a2917881db1fcd498ef77e3cf46651fb23378e24621a27586103e613440b
On-chain
ethereum · 0x99a9b7c1116f9ceeb1652de04d5969cce509b069 · #471

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Autoscope
erik-swahn · 2024
Bokeh (lamps)
mpkoz · 2024
Bokeh
mpkoz · 2024
Cytographia
golan-levin · 2024
Melancholic Magical Maiden
emi-kusano · 2024
Divergence
loren-bednar · 2023
Human Unreadable
operator · 2023
Immaterial
bj-rn-staal · 2023

Last updated 2026-07-16