Installation
Choose your framework. The registry installs one component file and its PixiJS dependency.
Installation unavailable
This preview is not assigned to the free or paid catalog. Installation is unavailable.
The registry command writes the component to src/lib/components/ui/DuotoneHalftone.svelte and installs its dependencies.
The registry command writes the component to src/components/ui/DuotoneHalftone.tsx and installs its dependencies.
The registry command writes the component to src/components/ui/DuotoneHalftone.vue and installs its dependencies.
Overview
Duotone Halftone converts source luminance into the area of one antialiased dot per rotated screen cell.
Each cell samples the image at its own center, so color boundaries cannot slice through individual dots and the print structure stays coherent.
Basic usage
The shader fills its parent. Your layout decides whether that parent is a card, hero, or viewport.
- Pair larger cells with a lower Dot scale to expose more of the paper color.
- Use Screen angle to align the print texture with surrounding layout geometry.
Component API
Types below match the selected Svelte component.
Types below match the selected React component.
Types below match the selected Vue component.