Dither Torch
imageProEt foto trykt som levende dither (bayer, halvtone, skravering eller korn), hvor markøren er en fakkel, der brænder igennem til fuld farve og efterlader et udtonende spor.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Dither Torch er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 66 effekter.
Køb · 49 €49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Log ind og opret din nøgle med det samme
- Ingen moms (§ 19 UStG)
Har du en nøgle? Hent koden med CLI eller MCP.
Nøglen ligger i MANNICHE_PRO_KEY, aldrig i koden eller i adressen. Sådan sætter du den op
npx shadcn@latest add @manniche-pro/dither-torchclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
DitherTorchProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
src påkrævet | string | – | The photo. Cross-origin images must be served with CORS headers, or the still image is shown instead. |
alt påkrævet | string | – | Describes the photo for screen readers. |
mode | DitherTorchMode | 'bayer' | How the tones are printed:
|
dotSize | number | 4 | Size of one dither cell in CSS pixels. |
radius | number | 150 | Radius of the torch in CSS pixels. |
softness | number | 0.35 | 0 tears the photo open through the dither pattern; 1 fades it in smoothly. |
trail | number | 0.5 | 0 to 1: how long the torch's trail lingers after the pointer moves on. |
wave | number | 0.6 | 0 to 1: how strongly the idle swell moves through the print. 0 holds it still. |
contrast | number | 1.15 | Tone contrast before dithering. 1 leaves the photo as it is. |
ink | string | '#f1ebe0' | Ink colour, as hex. |
paper | string | '#0d0c0b' | Paper colour behind the ink, as hex. |
tint | number | 0.15 | 0 to 1: how much of the photo's own colour seeps into the ink. |
fit | 'cover' | 'contain' | 'cover' | cover crops the photo to fill the box, contain shows all of it. |
focusX | number | 0.5 | Horizontal focus point from 0 (left) to 1 (right), used when cover crops the photo. |
focusY | number | 0.5 | Vertical focus point from 0 (top) to 1 (bottom), used when cover crops the photo. |
children | ReactNode | – | Content shown on top of the print. |
className | string | – | – |
A11y
Skærmlæser
The alt text sits on a real image. The canvas is aria-hidden, so the picture is read once. The torch is decorative and has no keyboard control.
Mindre bevægelse
Under reduced motion the grain and wave stay at rest. The pointer torch still follows the pointer. The animation loop pauses while the effect is off screen.