coldtype.time.Timeline¶
-
class
Timeline(duration, fps=30, storyboard=None, tracks=None, jumps=None)¶ General base class for any kind of timeline or sequence, in the NLE sense
fpsis frames-per-second, and defaults to 30storyboardis useful if you want to always see a given frame when your animation loads for the first time, or you’d like to see multiple frames, i.e.storyboard=[0, 5]to see both frame 0 and frame 5 in the viewertracksis mostly used internally by subclasses that process external data from another NLE or data source like subtitlesjumpscan be used to mark “jump-points” within a timeline, for easy skipping around with the up/down arrows (akin to up/down arrow movements in NLEs)