aboutsummaryrefslogtreecommitdiff
path: root/timeline.ts
blob: 0f1137e14235054aba9ab77f97344dc1c5948d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}