local size = {w = 640, h = 480}
-- Set the number of frames to be rendered for the animation.
-local frames = 512
+local frames = 360
-- Define the code to calculate where the camera is, in world coordinates.
local eye = function(frame)
t 2 0 -2
s 1 1 1
g dragon.raw
+M 0.3 0.3 0.3 5
c 0.7 0.3 0.2 0.8 0.2 0.1 0.9 0.2 0.2
t -2 -1 -2
s 2 2 2
t 2 -1.5 2
s 10 10 10
g bunny.raw
+M 0.2 0.2 0.2 1
c 0.9 0.8 0.9 0.8 0.7 0.9 0.9 0.8 0.7
t -2 -1 2
s 10 10 10
g teapot2.raw
+M 1 1 1 128
c 0 1 0 0 1 0 0 1 0
t 0 -1 0
s 0.6 0.6 0.6