dithercn
The Night Wire: dithered globe hero
A shadcn registry of dither components built on one shared engine: Bayer and blue-noise threshold matrices, WebGL and canvas renderers, and your theme tokens.
dithercn ships source, not a package: `shadcn add` writes the engine (lib/dither) and each component into your repo, and every piece reads --dither-ink, --dither-paper and --dither-cell from the theme. Here the canvas globe shades land from a 3.8 KB Natural Earth mask with a lit terminator, a WebGL aurora runs behind it on a bayer8 matrix, and the headline stays real, selectable text with a dithered gradient fill.
npx shadcn@latest add https://dithercn.dev/r/dither-globe.json https://dithercn.dev/r/aurora.json https://dithercn.dev/r/dither-text.json https://dithercn.dev/r/scramble-text.json https://dithercn.dev/r/dither-button.jsonthe code that drives it
<Aurora className="sky" animate={playing} color={s.color} tipColor={s.tip}
background="#08090a" curtains={s.curtains} rays={s.rays} height={0.56}
drift={(pointer.x - 0.5) * 3} tilt={(pointer.y - 0.5) * -24} mask="bottom" cell={3} />
<DitherGlobe animate={playing} color="#ece3cc" accent="orange"
markers={MARKERS} arcs={ARCS} speed={speed} tilt={22} light={300}
ocean={0.12} cell={3} matrix="bayer4" />
<DitherText as="h1" fill="gradient" direction="down" from={1} to={0.62}
ghost={0.3} cell={3} color="#ece3cc" animate={playing}>
The planet files its copy after dark.
</DitherText>