heart + craft

Snowfro, Jordan Lyall · 2023

An inclusive digital/physical generative collection by Erick Calderon (Snowfro) and Jordan Lyall. The algorithm generates an interactive 3D model of a "heart container" — combining blocks and colours — and embeds both assembly instructions and 3D-printable models inside the work itself, so each output can live in both the digital and physical realms and be crafted into a real sculpture. Released on Art Blocks (Engine / Prohibition) in 2023; see heartandcraft.xyz.

How it works

A heart-shaped grid of 3-D blocks, each extruded to one of seven heights and coloured by a chosen gradient or scatter strategy over a 32-colour (or grayscale) palette, in rarity tiers from Normal to Bi-Color to Hyper. It is rendered as an interactive Three.js object that also carries its own assembly instructions and 3-D-printable models.

A token-seeded PRNG (`R`) drives `calculateFeatures`, then `generateHeart` builds the object in Three.js. **Size**: a heart is small (a 7×7 grid, 85%) or large (13×13). **Shape & terrain**: a `heartMatrix` marks which cells belong to the heart; each filled cell is given a height from seven classes (XS…XXL, `cubeHeights`), assigned with a gradient that relates each cell to its previous and above neighbours so the block heights form a smooth relief. **Rarity** is rolled against weighted bounds — Normal (≈80%), Bi-Color (≈19.5%), Hyper (≈0.5%) — and picks a **colour strategy**: X-gradient, Y-gradient, linear, radial, random mix or glisten. **Colour**: a 32-entry palette (grayscale ~25% of the time, reversed 50% of the time) is walked with a `spread` (how much of the palette is used) and `speed` (spacing between colours), from a random start and, for radial strategies, a random centre (`radStartX/Y`); optional **confetti** scatters random colour spots and **glisten** sprinkles a sparse highlight colour. Hyper hearts use multi-face-coloured cubes (three `hyperType` variants) and may be metallic. Each cell then becomes an extruded box mesh, assembled into a heart container with a signature mesh; the piece is interactive (drag-rotate, spin, per-cube selection) and its GLTF assets embed step-by-step assembly navigation and 3-D-printable models for physical crafting. This decomposition is grounded in the actual on-chain generator script (sha-256 ce790e25cc6ead09…); the artwork logic occupies roughly the first ~2,700 lines and the remainder is a bundled Three.js GLTFLoader — the loader library is not re-described.

Details

Tools
three.js
Runtimes
Browser (WebGL / GLSL), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2023-08) → art-blocks
On-chain
ethereum · 0x47a91457a3a1f700097199fd63c039c4784384ab · #100

View generator ↗ · Art Blocks ↗

Sources

Last updated 2026-07-16