+-- Set the number of samples for supersampling. If this is set to a value of
+-- two or greater, each frame will be rendered larger by the factor specified.
+-- ImageMagick is used to scale the frames back down to size; if ImageMagick
+-- is not installed, the resulting frames will end up bigger than they should
+-- be and the aliasing problem will not be fixed.
+local supersample = 4
+
+-- Set the width and height of the viewport.
+local size = {w = 640, h = 480}
+
+-- Set the number of concurrent renderings (for multi-core machines).
+local jobs = 6
+
+
+-- end of configuration
+---------------------------------------------------------------------------
+
+local fmt = string.format
+local write = function(...) return io.write(fmt(...)) end
+local run = function(...) return os.execute(fmt(...)) end
+
+function vec_new(x, y, z)
+ return {x = x, y = y, z = z}
+end