Halftone Hands

group .........
Cursor and hover effects
markdown ......
/lab/halftone-hands.md
human .........
/lab/halftone-hands

── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────

Two hands reach in from the sides, drawn as a live halftone dot field. Each frame both poses are painted into a small offscreen field, sampled per cell and redrawn as dots quantised to six tone steps. The hands drift and breathe on a 20 second loop, cells dissolve between two poses, rows glitch sideways, and a lens under the cursor swells and darkens the dots. Eleven ink themes. Canvas 2D, no dependencies.

── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────

  • * Both poses are sampled every frame

    Each frame paints the left and right hand of pose A and pose B into an offscreen field two samples wide and three tall per dot, then averages the red channel per cell. A per-cell seed decides which pose a dot reads from, so the swap dissolves cell by cell instead of crossfading.

  • * The image must allow CORS

    Sampling reads the field back with getImageData. An image served without CORS headers taints the canvas, and the component falls back to drawing the hands directly through a fixed dot mask, without tone steps, morph or lens.

  • * Stills under reduced motion

    With prefers-reduced-motion the loop stops and one frame is drawn at phase zero with no intro, glitch, shimmer or lens. Drawing also pauses when the component leaves the viewport or the tab is hidden.