← back to roto on ba3a.dev

compose

fun compose(current: Raster, previous: Raster?, next: Raster?): Raster

The onion skin of current with previous and next behind it; a frame that does not exist (the first or last of a clip that does not loop) is null. A ghost pixel takes its tint's colour and 30 % of the frame pixel's alpha, rounded to nearest.

Throws

when the frames differ in size