backToP3

Brings ribbons color from its working color space back to display color.

backToP3(slots: {space?: PropRef}): RgbStage

Import noise from shaders/std and use noise.backToP3.

space is the definition's compile-time color-space prop; leave it out for linear. Put it first in overRgb, right after the ribbons.

Parameters

NameTypeNotes
slots{space?: PropRef}

Example

paint: overRgb(strands, backToP3({space: p('colorSpace')}), tonePow())

See also

  • overRgb — Runs color-only steps over a paint, in order, leaving its alpha alone.
  • ribbons — Flowing gradient-colored ribbons between two points: the Strands look.

Used by

Strands