PRO

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.

Component
Install
npx shadcn@latest add @compronents/watercolor

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
tuningWatercolorTuningDEFAULT_SETTINGSNested partial settings. Updates apply without recreating the GPU device.
hue / brushSize / rainbownumber / number / boolean330 / 1 / truePigment 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 / keyboardShortcutsbooleanfalseOpt-in wheel hue and size controls and focused-canvas shortcuts. R toggles rainbow, D washes, brackets change size and left/right arrows change hue.
refRef<WatercolorHandle>—wash() animates a clean wash. clear() immediately starts a new sheet.
className / stylestring / CSSProperties—Root styling. Give the parent a height; the canvas fills its box.
Customize
hue / brushSize / rainbowslider

Starting pigment hue, brush scale and automatic hue changes along a stroke.

tuningtext

Partial overrides for brush, color, dry, flow, paper, rainbow, grade, light, look, settle, wipe and spread settings.

Dependencies
@webgpu/types