/* Scale factor was suitable for a 600 pixel x 600 pixel image. Depending on the size of the eraser being pressed it may be necessary to change the scale factor. The Z-axis scale factor can be altered to make the mold deeper or shallower. The robot image was taken from http://www.instructables.com/community/Official-Instructables-Logos/ */ scaleFactor = 0.05; $vpr=[55,0,$t*360+25]; scale([scaleFactor,scaleFactor,scaleFactor]){ surface(file = "robotCropped.png", center = true); }