Glitch DecodePRO
The image decodes out of a corrupted stream: torn bands and channel offsets settling clean.
Code
3 files · 243 lines of TypeScriptPRO
Glitch Decode is part of Pro
Get its source, the one-paste agent prompt and all 113 components, for a one-time $99.
Motion notes
- Damage sits in patches of macroblocks that shrink as data arrives: stale motion vectors showing the wrong part of the frame, flat DC blocks with crushed tones, swapped chroma and the odd dropout. Small blocks group into large ones, so damage reads like a real codec rather than random noise.
- Torn displacement bands and RGB channel offsets fire in short bursts, re-rolled about nine times a second, and only some frames spike. Bright runs get pixel-sorted into graded horizontal streaks through the first half.
- Every effect is scaled by one corruption amount that reaches zero at 80%, so the last stretch is calm: only a hairline channel offset that eases shut as progress reaches 100.
- Progress is eased on the GPU side, a big step back reseeds the damage for a new run, and drawing stops once the corruption has drained. With reduced motion the glitch frame is frozen and decoding follows progress directly.
Usage
Example
<ImageGlitch progress={job.progress} src={job.url} alt={prompt} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| progress | number | — | 0–100. At 100 the image is fully decoded and clean. |
| src | string | — | Final image URL. Same-origin or CORS-enabled. |
| alt | string | — | Alt text. |
| className | string | — | Size it here; the default is w-64 at 3:4. |