summaryrefslogtreecommitdiff
path: root/example/cube.scene
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2026-04-12 20:57:06 +0200
committerLizzy Fleckenstein <lizzy@vlhl.dev>2026-04-12 20:59:39 +0200
commite5af28536bfb0f4c9131df56d2009ba5196f5e3a (patch)
tree3ab928f961a1ccd8440b070d7b57f79146457e8c /example/cube.scene
downloadanimtool-e5af28536bfb0f4c9131df56d2009ba5196f5e3a.tar.xz
init
Diffstat (limited to 'example/cube.scene')
-rw-r--r--example/cube.scene8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/cube.scene b/example/cube.scene
new file mode 100644
index 0000000..b9aebc3
--- /dev/null
+++ b/example/cube.scene
@@ -0,0 +1,8 @@
+(var string $texture)
+(var number $speed 270)
+(size 100 100) (fps 24)
+(seq (/ 360 $speed)) (proj perspective (fov 37))
+(scene
+ (trans (t 0 3 5) (camera (pos 0 0 0)))
+ (trans (r y (* $speed (time))) (s 2) (cube (texture $texture)))
+)