Watercolor
Interactive WebGPU watercolor from watercolor.bizar.ro. Paint and smudge wet pigment on procedural paper, with spreading, granulation, evaporation and a centre-out wash. Brush, water, lighting and paper controls live in the external studio panel.
npx shadcn@latest add @compronents/watercolorInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
Checking access…
| Prop | Type | Default | Description |
|---|---|---|---|
| tuning | WatercolorTuning | DEFAULT_SETTINGS | Nested partial settings. Updates apply without recreating the GPU device. |
| hue / brushSize / rainbow | number / number / boolean | 330 / 1 / true | Pigment hue in degrees, brush scale from 0.3 to 3 and rainbow painting. |
| quality | "auto" | "high" | "low" | "auto" | Simulation resolution. A resolution change clears the sheet. |
| wheelControls / keyboardShortcuts | boolean | false | Opt-in wheel hue and size controls and focused-canvas shortcuts. R toggles rainbow, D washes, brackets change size and left/right arrows change hue. |
| ref | Ref<WatercolorHandle> | — | wash() animates a clean wash. clear() immediately starts a new sheet. |
| className / style | string / CSSProperties | — | Root styling. Give the parent a height; the canvas fills its box. |
hue / brushSize / rainbowsliderStarting pigment hue, brush scale and automatic hue changes along a stroke.
tuningtextPartial overrides for brush, color, dry, flow, paper, rainbow, grade, light, look, settle, wipe and spread settings.
@webgpu/types