GHOST IN THE CODE

Kazuhiro Tanimoto · 2022 · Factory

An impressionistic, heavily speckled portrait of a face emerging from digital noise. Pale yellow-green highlights model the cheeks, nose and lips, with two vivid green eyes and dark arched brows. Murky olive, ochre and oxblood-red tones surround the head like shadowed hair and ground. Grainy and dissolving, it reads as a haunted, glitched, melancholic likeness.
Kazuhiro Tanimoto · via Art Blocks ↗ · © the artist
Sample output of GHOST IN THE CODE
Kazuhiro Tanimoto · via Art Blocks ↗ · © the artist
Sample output of GHOST IN THE CODE
Kazuhiro Tanimoto · via Art Blocks ↗ · © the artist
Sample output of GHOST IN THE CODE
Kazuhiro Tanimoto · via Art Blocks ↗ · © the artist

This work is the product of a project to dwell undeletable souls on the blockchain. A system that generates human faces with different personalities and expressions from a minimum of code. After determining the personality from a hash, the face continues to change into various expressions. It is a living portrait, a fragment of minter's soul, forever adrift in the vast net. Living organisms are coded by a sequence of the four bases in DNA, and a human DNA is composed of 3 billion base pairs. This is about 750 MB of information. And the difference in code between individual people is only 0.1%, or 750 KB. This slight difference creates all kinds of differences in appearance and physical functions. This is quite astonishing to our ordinary senses. However, if we are surprised by this fact, we need to suspect our senses. I was interested in these points and explored what are the elements by which people identify the faces and facial expressions of others, how little code can create personality and emotion, and conversely, to what extent can an observer identify personality and facial expressions. As a result, I succeeded in expressing the personalities, emotions, and complex feelings of various people with 14 KB of code. We like to think of humans are supernatural and one-of-a-kind. This is a common background to the past, when many people favored the Ptolemaic theory. However, this work leads us to suspect that we humans are only a program that can be coded. Then, what is the essential difference between a code written in DNA and a code written in programming language? I believe the only difference is whether the execution space is real or digital space. Is it a prerequisite for the existence of the soul to operate an organic computer in real space? It is merely a medium. This is not meant to be pessimistic, such as we are mere code, the soul does not exist and is an illusion, a mere electrical signal in the brain. Rather, the soul, the function that makes us aware of our existence, makes us think, causes us to emotion, and makes us act, certainly dwells in the code. I store this code on the blockchain, thereby spreading undeletable ghosts on the vast net forever. In this work, the ghost is output on the net by minting. This act is part of the work. The personality of the ghost is also determined by the hash owned by the minter. In other words, the ghost output by you from the code on the blockchain is a fragment of your soul on the net. [NOTES] Press C to turn canvas on/off Press S to save image

How it works

The core is the generation of a face from minimal code. From a small number of control points joined by curve interpolation (curveVertex), it draws the outline of a human face with eyes, nose and mouth, and determines that person's character from the hash. Based on the character thus fixed, the face keeps changing over time into various expressions. Over this a finishing fragment shader is layered, adding posterisation (stepping of the gradations) and displacement and wobble of the screen to give it the texture of a living portrait. A colour scheme that cycles the hue adds colour to the shifting expressions. As an attempt to lodge an indelible soul on the blockchain, a fragment of the minter's soul is generated, point by point, as a living face wandering the sea of the net.

Palette

Extracted from outputs · 8
#92806c#adb49d#685b35#362b10#dee1ce#df84e0#9f89c0#d1c1bb

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 (2022-06) → art-blocks
Script hash
82a34a501a5faed37406bc0588d23135cc841b6f49d1eda0c13ee0ac5af488f6
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #323

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Flourish
sterling-crispin · 2023
Lucky Clover
sputniko · 2023
Lumina
distcollective · 2023
Meaningless
amy-goodchild · 2023
Memories of Digital Data
kazuhiro-tanimoto · 2023
Arcadia
zachariah-watson · 2022
Ingress
pawe-dudko · 2022
Metaphysics
jinyao-lin · 2022

Last updated 2026-07-16