← back to roto on ba3a.dev

fit

fun fit(frames: List<Raster>, zones: List<IndexedRaster>, steps: List<Int>, settings: ShadeSettings): ClipShading

The shading of frames, labelled by zone in zones, where zone i + 1 has steps[i] ramp steps. A zone no pixel belongs to gets an empty range, and so its middle step.