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
| Name | Type | Notes |
|---|---|---|
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.