\graphics3d(800,600)
\createLight[x,y,z=0,10,0, kind="spot"]()
\createCamera[x,y,z=0,0,-10, fov=45, dof=1]()
#these are the default light and camera
#interactivity is also default; WASD/arrow keys for panning, QE for forwards/backwards, ZX for zoom;
#left click-drag for rotating camera, right click-drag for rotating around world center
type:body(x,y,z,r,m){
\self.(\names(\args)) = \args; #there should be a single command for this kind of thing
#equivalent to '\self.[x,y,z,r,m] = [x,y,z,r,m]'