a heart and a soul

Roman Janajev · 2021 · Factory

A large central medallion frames an intricate interlocking lattice of slate-blue and grey tiles, edged in thin gold line that glows against deep black. Beyond the circle, gold filaments ripple in restless wavelets. The mood is ceremonial and ornate, like an inlaid emblem or a stained-glass seal.
Roman Janajev · via Art Blocks ↗ · © the artist
Sample output of a heart and a soul
Roman Janajev · via Art Blocks ↗ · © the artist
Sample output of a heart and a soul
Roman Janajev · via Art Blocks ↗ · © the artist
Sample output of a heart and a soul
Roman Janajev · via Art Blocks ↗ · © the artist

A geometric composition of a contrasting middle "heart" and an outer "soul". The seed of the symmetrical heart is broken into varying amount of chambers that are calculated to keep its corridors at the exact constant width in order to preserve its rigid mathematical character, yet provide enough space for variety for interesting geometrical patterns. The composition is balanced by a contrasting loose intertwining soul spreading to the borders of the passepartout that, along with the lining, give the piece a feeling of antiqueness. Heart and soul may also contain anomalies and unusual palettes.

How it works

The core is a maze dug by recursively breaking walls. On an HS×HS grid, keeping the passage width constant, it recursively removes walls (breakHeart, with the cavity test hlw_) and, counting regions by flood fill (cr_ / count), digs a heart-shaped maze until it reaches the target number of sections. It mirrors that in the x and y directions into a four-fold symmetric form, and circles spiral light rays wavered with sin (ds_) and resonating circles around it. Because the hash decides how the maze is dug and the symmetry, an image shaped like a heart and a soul is generated at every point.

Palette

From the generator script · 77
#000000#3e6bb7#deb045#bd3724#2b2d2b#caa59a#d1c1ab#fe944a#594d61#2cf7fb#ff88c6#ffdcca#faf985#1e81b0#e28743#eeeee4#acacac#caeac3#3f342f#40e0d0#ffd705#ff7373#468489#206a5d#81b214#ffcc30#f58633#249baa#facc3f#555f75#857399#ffb997 +45 more
Extracted from outputs · 8
#130e09#3c3a3d#292325#526565#c35d38#8a7378#e2a781#6d4120

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-09) → art-blocks
Script hash
c7a27c44bcdf9c9c3aa988cda44584c2383ae7204d54664f85bfadd5f2c34a40
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #158

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Muttenz
wuwa · 2023
FOCUS
matto · 2021
Pieces of Me
r4v3n · 2021
spawn
john-provencher · 2021
Cryptoblots
daim-aggott-honsch · 2020
Diggly Collects All
dca · 2025
Sheets
rudxane · 2024
Blooms
cory-haber · 2024

Last updated 2026-07-16