← back to roto on ba3a.dev

PngFolderModelSource

constructor(folder: Path, canvas: Canvas, defaultDurationMs: Int, defaultLoop: Boolean)

Parameters

folder

the folder holding the PNGs

canvas

the project canvas; every frame must fit in it

defaultDurationMs

the artist's one duration for all frames when there is no clip.json

defaultLoop

the artist's loop choice when there is no clip.json