bleedWarp

A sample position that drifts slowly past hard edges, so paint bleeds instead of stopping.

bleedWarp(slots: {amount: PropRef}): GatherStage

Import effects from shaders/std and use effects.stylize.bleedWarp.

amount scales the drift in logical pixels (about four pixels per unit; 0 turns it off). Build it once and pass the same stage as at to both kuwahara and wash, so the brush and the original sample agree.

Parameters

NameTypeNotes
slots{amount: PropRef}

Example

const wet = bleedWarp({amount: p('bleed')})

Tip. Give the amount prop recompile: crosses(0) so turning the bleed off removes the work.

See also

  • kuwahara — A painter's brush: the flattening that turns fine detail into soft patches of one color.
  • wash — The watercolor look: the layer inside flattened into soft patches of color over paper grain.

Used by

Watercolor