← back to roto on ba3a.dev

moved

fun moved(index: Int, frame: Int, frameCount: Int): KeyFrames

These key frames with boundary index moved as near frame as the rules allow: it stays between its neighbours, and inside a clip of frameCount frames. The last boundary may reach frameCount itself, since it is where the last key frame ends, not a frame drawn.