KQ-386 · DITHER/FIGURE
Dither Figure
A 3D figure in ordered dither: the lit render quantised through a Bayer matrix into a two-colour palette at a chosen pixel size, floating and rocking, yours to orbit. Retro on purpose and exact about it. The 3D runtime loads lazily after mount.
KQ-386 · DITHER/FIGURE
drag to orbit
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/dither-figure
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| preset / src / scale | "knot" | "sphere" | "capsule" | "mark" · string · number | — | A built-in shape, or a GLB, glTF, SVG, or image URL sniffed by its bytes, and how large it sits. |
| orbit / idle | boolean | — | Drag to orbit, and the resting float and rock. |
| pixelSize / levels / darkColor / lightColor | number · number · string · string | — | The dither cell, its brightness steps, and the palette ends. |