Mental pathways

fabianospeziari x donnoh · 2021 · Factory

Bold horizontal stripes in black alternating with hot pink, magenta, cyan, and green span the square. Thick rounded white lines wander across the bands like rerouted pipes or circuit traces — looping, branching, breaking into dashes — connecting and doubling back. High-contrast, electric, playful; a transit-map or wiring diagram feel.
Sample output of Mental pathways
Sample output of Mental pathways
Sample output of Mental pathways

Mental Pathways is a graphical representation of our thoughts. As our thoughts, each trail needs to follow a path from one point to another in order to complete itself and arrive at its final solution or understanding. Sometimes the road can be short and simple, other long and complex, or even made up of different thoughts and afterthoughts. Colors are the sensations we experience while we think and each can mean different things: a state of mind, a feeling, a problem to be solved. Dutch auction starting at 0.6Ξ ending 0.25Ξ reduced every 5 minutes: 0.6 / 0.45 / 0.35 / 0.25

How it works

The core is a Truchet pattern that draws paths with tiles. First it generates a maze on a grid with a spanning tree, and finds the shortest path from start to goal with Dijkstra's algorithm. To each cell of the found path it fits a straight-line or quarter-circle-arc tile according to the direction of travel, drawing a single smoothly connected road. It repeats this several times, layering paths while removing walls along the roads taken. The palette is chosen from many options, drawing the theme of the pathways of thought at every point through the combination of maze pathfinding and Truchet tiles.

Palette

From the generator script · 167
#000000#c600c5#9dddfe#820000#008026#a3a3a3#696969#313131#750787#00a186#006599#008f05#bf1363#c2b97f#3891a6#0cd0cd#b5ca8d#8f3985#474a2c#59a96a#4c5b5c#8bb174#564e58#904e55#0e79b2#7d0078#e03b86#fde74c#f46036#6153cc#a60067#759fbc +135 more
Extracted from outputs · 8
#55534e#df48b7#aebdb0#e8e8eb#7d9281#f8b7da#1e1115#31aaae

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 (2021-10) → art-blocks
Script hash
696f551de2fdf53cc46acead712506953dbcac81a2f53a26e68c4a11f10c2809
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #190

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Rain Blooms
kazuhiro-tanimoto · 2026
nullMachines
kerim-safa-loackme · 2024
Fermented Fruit
cyberia · 2022
Undercover
artplusbrad · 2022
Pre-Process
casey-reas · 2022
Zoologic
ixnayokay · 2022
70s Pop Ghost Bonus Pack 👻
daniel-catt · 2021
70s Pop Series One
daniel-catt · 2021

Last updated 2026-07-16