diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-09 14:17:51 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-09 14:17:51 +0200 |
commit | 87f7bd7b20277786c39726db397caf1971abb956 (patch) | |
tree | af78dd782e1a7cabab5092bbcfc7c420447f405d | |
parent | d3827511b342b71ae3c0c1bbd38aff51b014b880 (diff) |
add timeline schema
-rw-r--r-- | timeline.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/timeline.ts b/timeline.ts new file mode 100644 index 0000000..0f1137e --- /dev/null +++ b/timeline.ts @@ -0,0 +1,25 @@ +interface slide { + frame: number + clickThroughBehaviour: "ImmediatelySkip" | "PlayOut" + type: "default" | "delay" | "speedChange" | "loop" +} + +interface delaySlide extends slide { + delay: number +} + +interface speedChangeSlide extends slide { + newFramerate: number +} + +interface loopSlide extends slide { + endFrame: number + playbackType: "PingPong" | "Normal" +} + +interface timeline { + slides: slide[] + framecount: number + framerate: number +} + |