-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.pres
40 lines (39 loc) · 873 Bytes
/
main.pres
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
plugins = [
"plugin_basic",
"plugin_text"
],
settings = [
reference_dim = vec2{ 1600, 900 },
background_color = vec4{ .5, 0.6, 0.7, 1 },
title = "Test Presentation"
],
slides = [
global {
font {
source = "res/Hack.ttf"
sizes = [64, 96],
default = true
}
},
slide {
text {
x = 300, y = 100,
text = "Hello World\nHello Again",
center_y = true, center_x = true
col = vec4{ 0, 1, 1, 1 }
},
rectangle {
x = anim{
keys = [ 100, 1000 ],
wait_keys = 1,
time = 1,
polygon {
points = [
vec2{ 0, 0 },
vec2{ 100, 100 },
vec2{ 0, 100 },
],
scale = vec2{3, 3}
}
}
]