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

PropTypeDefaultDescription
preset / src / scale"knot" | "sphere" | "capsule" | "mark" · string · numberA built-in shape, or a GLB, glTF, SVG, or image URL sniffed by its bytes, and how large it sits.
orbit / idlebooleanDrag to orbit, and the resting float and rock.
pixelSize / levels / darkColor / lightColornumber · number · string · stringThe dither cell, its brightness steps, and the palette ends.