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/PencilLogo.svelte and installs its dependencies.
The registry command writes the component to src/components/ui/PencilLogo.tsx and installs its dependencies.
The registry command writes the component to src/components/ui/PencilLogo.vue and installs its dependencies.
The generated component builds its SVG distance field locally and renders the intermediate luminance pass on the GPU.
PixiJS provides the render texture pipeline for both WebGPU and WebGL.
Overview
Pencil Logo is a true two-pass shader. The first pass renders the SVG distance field as a grayscale subject; the second derives noisy luminance gradients and directional graphite texture from that image.
The paper covers the entire canvas. Procedural noise replaces the reference noise texture while preserving its distorted sampling, paper grain, tonal strokes, and vignette technique.
Basic usage
The shader fills its parent. Your layout decides whether that parent is a card, hero, or viewport.
- The effect is intentionally monochrome by default. Paper and graphite colors can be tinted without changing the sketch response.
- Subject tone changes the source-pass luminance and therefore the density of the pencil texture, not a separate overlay.
- Grain motion defaults to zero for a stable drawing. Raise it only when an animated sketch is desired.
Component API
Types below match the selected Svelte component.
Types below match the selected React component.
Types below match the selected Vue component.