PRO

Halftone Hands

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.

Component
Install
npx shadcn@latest add @compronents/halftone-hands

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
themeHalftoneThemeId | HalftoneTheme"paper"One of paper, graphite, phosphor, amber, blueprint, riso, ember, neon, sage, gilt, glacier, or a custom { bg, inkA, inkB, glow, vignette, scan, dark }. Ink colours ease to a new theme.
glow / vignette / scanlinesnumber / boolean / boolean100 / true / trueGlow as a % of the theme's glow radius, and whether the theme's vignette and scanlines show.
handsPartial<HandsOptions>{ source: "sheet", width: 56, centerY: 50, bleed: 4.5, gap: 9 }A 2x2 `sheet` URL, or `source: "split"` with leftA, rightA, leftB, rightB. Width, vertical centre, edge bleed and the faded centre gap are in %.
dotsPartial<DotsOptions>{ shape: "circle", density: 190, rowGap: 1.9, size: 94, levels: 6, minDot: 30, threshold: 14, softness: 44, contrast: 1.15, detail: 0.9 }Dot shape (circle, square, diamond, bar), columns across, row spacing, tone steps and the tone curve. Density and row spacing rebuild the grid.
motionPartial<MotionOptions>{ loop: 20, speed: 1, drift: 100, breathe: 100, roll: 100, morph: true, glitch: true, shimmer: 100, intro: true }Loop length in seconds, the hand motion amounts in %, and the pose swap, row glitch, shimmer and build-in.
lensPartial<LensOptions>{ enabled: true, radius: 130, swell: 40, push: 6, reveal: 25 }Cursor lens radius in px, dot growth in %, outward push in px and extra tone in %.
className / stylestring / CSSProperties—Root props. The component fills its parent.
Dependencies
None.