cm CAT MAGNETS / EXPERIMENT 05

A study in touch

Fur atelier.

Every fiber, a little possibility.
Run your fingers through it. Leave a trace.

+PROCEDURAL SPECIMEN
01 — Copper / short coat
Preparing the fibers…

Drag to touch · Scroll to get closer · Right-drag to orbit

Under the surface

A small field.
A lot of fibers.

Each fiber is a tapered, curved ribbon generated in the vertex shader. A field of 6,144 guides holds the direction left by your hand; nearby fibers interpolate that field. Roots stay anchored to an ellipsoid while their tips bend.

With WebGPU, a compute pass advances a damped spring toward each guide’s remembered shape. WebGL 2 runs the same guide model on the CPU. Retention controls how much a stroke is remembered. Recovery erases that memory over time; zero leaves it ruffled until you reset it.

Research, translated into real time

Lengyel et al. · Real-Time Fur over Arbitrary Surfaces (2001) ↗

Shells and fins establish the speed / silhouette tradeoff. This close-up study instead uses explicit ribbons so individual tips can follow your stroke.

Marschner et al. · Light Scattering from Human Hair Fibers (2003) ↗

Informs the shifted, tangent-based dual highlights. This is an artistic approximation, not the full physical scattering model. Root occlusion and transmission are approximated; there are no inter-strand collisions or deep shadows.

AMD · TressFX ↗

GPU strand processing and guide / follower separation inform the architecture. This implementation uses its own compact spring field rather than TressFX’s strand solver.

Keyboard & touch

Arrow keys brush across the specimen; Shift reverses the brush. Alt + arrows rotates. + / − zooms, R clears grooming, and 0 resets the view. On touch screens, choose Stroke, Ruffle, or Orbit before dragging. Higher strand counts and segment counts cost more GPU time.