PRO

Motion Tracking

A WebGPU motion-detection effect: a looping video is frame-differenced in a compute shader to build a decaying trail of movement, then rendered as tinted ASCII glyphs over the darkened footage with a bloom pass on top.

Component
Install
npx shadcn@latest add @compronents/motion-tracking

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
videoSrcstringriver footage (rehost on Blob)CORS-enabled looping video source.
color"blue" | "red" | "green""blue"Tint applied to the ASCII glyphs.
debugbooleanfalseShow the raw grayscale motion mask instead of the effect.
videoBrightnessnumber0.55Brightness of the footage behind the glyphs, 0 (black) to 1 (full).
Customize
videoSrcasset-url

CORS-enabled looping video the motion is detected from.

color / debugtext

Glyph tint (blue, red, green) and the raw motion-mask toggle.

Dependencies
three