Spaghetti Bones

Joshua Bagley · 2023 · Curated

On black, two worlds meet: at left, dense pebbly clusters of red, green, yellow and grey scatter like sorted candy or cells; at right, glowing orange-and-purple coils churn into a swirling fractal reef. Tangled, organic and exuberant, balancing tidy granularity against molten curling chaos.
Joshua Bagley · via Art Blocks ↗ · © the artist
Sample output of Spaghetti Bones
Joshua Bagley · via Art Blocks ↗ · © the artist
Sample output of Spaghetti Bones
Joshua Bagley · via Art Blocks ↗ · © the artist
Sample output of Spaghetti Bones
Joshua Bagley · via Art Blocks ↗ · © the artist

Spaghetti Bones is a celebration of my adaptation and exploration of the differential growth technique. The idea is simple. You start with a string of nodes connected to one another to form a shape. Each node feels 3 forces: - A repulsion force from all other nodes - An attraction force towards its immediate neighbors - An attraction force towards the midpoint between its neighbors As you add more nodes into the shape, these 3 rules cause the shape to curve into itself, growing into a complex form of layered undulating lines. The goal is to create a shape that fills as much space as possible while maintaining a rigid form and avoiding overlapping itself. By focusing specifically on where and when you add more nodes, and how you interpret those nodes into a shape, there is much variety to be found in this simple algorithm. Since I first learned about this technique, and wrote my own version based off these rules, I have been continuing to iterate, evolve, and optimize my code. It's an algorithm I always find myself coming back to, and has become my most researched topic and longest running experiment. I love its use of real life physics, and I find its outputs aesthetically pleasing on a deeper, almost instinctual level. Each output of 'Spaghetti Bones' starts with a simple shape as a seed for the differential growth algorithm. Throughout the rendering process, the shape is fed more nodes, and grows until it cannot find any empty space to fill. As it grows, a form is interpreted from the nodes of the growth and drawn onto the screen, creating a snapshot of the growth at that particular moment. There are many rules that govern how the shape grows, and how its form is interpreted, and these rules often evolve throughout the rendering process. When the render is complete, the resulting image is a full catalog of the history of the shape's life. The name of this project was created by Nicole, my girlfriend and an art wizard. Early on in the development of this project, I asked her to name an output I was sharing, and she chose to call it ‘Spaghetti Bones’ because that’s what it looked like. Since then, the name has stuck with me. I decided to keep the name for the final project in order to highlight the playfulness of each output, to encourage imagination when viewing this abstract art, and to thank Nicole for being tremendously supportive and helpful throughout my exploration of the art world.

How it works

The core is differential growth. Starting from a chain of mutually connected nodes and giving each node forces of repulsion, attraction and connection-keeping to grow it little by little, an outline grows that writhes and folds over itself like a living thing. Perlin noise (noiseDetail) and HSB hue manipulation are then combined in. The noise gives organic fluctuation to the growth, and colouring while advancing the hue puts colour on the forms tangled like bones or spaghetti. The accumulation of growth produces a different complex outline at every point.

Palette

From the generator script · 119
#4b7278#b45062#438839#aa292d#ba8b2c#d97e90#cbc29b#161512#115565#9c61e1#e9c79e#b65538#973e47#c487ed#27474e#0c141d#2a4363#d4e28d#9bb88c#89ae9d#6d8c87#727b98#735f7b#6dc3aa#3d7a95#d05f61#e0436b#7267c6#f0a73a#689a3d#101018#52097c +87 more
Extracted from outputs · 8
#2d2d28#4c4c33#41303b#121213#0e0e28#79503b#717911#547b34

Algorithms

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-07) → art-blocks
Script hash
ab1eb409e80caa5d39f38ade6ef85f43e95bf1c41e985ee4d00d0d3202950c10
On-chain
ethereum · 0x99a9b7c1116f9ceeb1652de04d5969cce509b069 · #456

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

BUSIEST
james-merrill · 2025
BUSY
james-merrill · 2025
Diggly Collects All
dca · 2025
Flourish
sterling-crispin · 2023
Fluiroso
sebastian-brocher-cryptoarte · 2023
Forecast
manuel-larino · 2023
Jenim
orr-kislev-alona-rodeh · 2023
Lucky Clover
sputniko · 2023

Last updated 2026-07-16