Colors
Anywhere Slope asks for a color, you can give it a fixed one:
or a name, and then it becomes something you can edit live:
A named color is a tunable parameter like any other. It appears in the Tuner (A).
Because it is one namespace, a color can also be read from a snippet by its name, or bound to a shader uniform. You can define a snippet to override a color:
snippets.lua
--- shape/clay
local h = 0.5 + 0.5 * math.sin(t.from_begin)
return vec4(h, 0.3, 1 - h, 1)
Background
The background is an important part of a slide. If you set it on a slide, every slide after it keeps it, until another one changes it.