Interface: PaletteRamp
lifecycle-kit / pigment / PaletteRamp
Interface: PaletteRamp
Defined in: pigment/palette.ts:12
A palette RAMP: several colour stops from shadow to highlight, rather than
one flat tint. The assemblage stage needs a ramp to shade a lit,
self-shadowing form with — see
docs/superpowers/specs/2026-08-08-compositional-rendering-design.md
§"Surface is the same computation, not a coat of paint".
Properties
base
base:
string
Defined in: pigment/palette.ts:16
The structural/base colour — chem's element-weighted average.
highlight
highlight:
string
Defined in: pigment/palette.ts:20
Brightest stop — highlight side, toward the light.
metallic
metallic:
number
Defined in: pigment/palette.ts:22
0..1, mass-weighted from the tissue's elements. Specular intensity.
opacity
opacity:
number
Defined in: pigment/palette.ts:26
0..1. Below 1 the form should dither/read translucent.
pigment
pigment:
string
Defined in: pigment/palette.ts:18
Pigment-dominant stop — where the strongest pigment concentration reads.
roughness
roughness:
number
Defined in: pigment/palette.ts:24
0..1. How sharply the shadow-to-highlight ramp falls off.
shadow
shadow:
string
Defined in: pigment/palette.ts:14
Darkest stop — shadow side of a lit form.
