kuwahara
A painter's brush: the flattening that turns fine detail into soft patches of one color.
kuwahara(slots: {at: GatherStage; radius: PropRef}): KuwaharaBrush
Import effects from shaders/std and use effects.stylize.kuwahara.
radius is the brush size in logical pixels, 1 to 8, and must be a compile-time prop. at is the sample position, normally the same bleedWarp stage you hand to wash. Returns the brush for wash.
Parameters
| Name | Type | Notes |
|---|---|---|
slots | {at: GatherStage; radius: PropRef} |
Example
brush: kuwahara({at: wet, radius: p('radius')})
Tip. Mark
radiuscompileTime: true. A hidden prop with a fixed default is the usual choice.
See also
wash— The watercolor look: the layer inside flattened into soft patches of color over paper grain.bleedWarp— A sample position that drifts slowly past hard edges, so paint bleeds instead of stopping.