move through the hair

Green

2026

Seventy strands of hair drift across three green columns and curl into a fingerprint in the middle. The hair bends away from your cursor, and the print slides toward it.

Tools
p5.js, JavaScript
How to play
move through the hair
Tags
generative, web

Concept

The fingerprint isn't drawn on its own. It's made by the hair: strands flow in from the left, curl into nested ovals at the centre, then flow back out to the right. Identity, here, is something the same material does for a moment, rather than a mark set on top of it.

How it works

  • Three columns

    Each column is painted as an ombré, from a light green at the top to a deep one at the bottom, in thin stripes.

  • The hair

    Every strand rests at its own height and rides a slow wave of Perlin noise, so neighbouring strands move together like locks of hair. In the second and third columns a small regular wiggle is added.

  • The fingerprint

    A strand above the centre line forms the top half of an oval, one below forms the bottom half, and strands near the middle make the smallest rings. Each one eases back into the flow of the hair past the oval's tip.

  • The third column

    Heights snap to a 16-pixel stair step, so the hair turns digital and the part of the print that reaches this column breaks apart.

Interaction

Move your cursor through the picture: the hair parts around it within 150 pixels, and the fingerprint drifts 12% of the way toward it. On a phone, drag a finger instead.