#include "colors.inc" background{White} camera { location <0, 1, -10> look_at 0 angle 35 } light_source { <500,500,-1000> White } text { ttf "timrom.ttf" "FORMULA" 1, 0 #if (clock < 0.5) pigment { Blue } //translate (-3 +3*(clock/2))*x translate (-3 +3*clock)*x #else pigment { Red } translate (-3 +3*0.5)*x #end translate -1*x } text { ttf "timrom.ttf" "ZERO" 1, 0 #if (clock < 1) pigment { Blue } translate (-1*clock)*x translate -1*y #else pigment { Blue } translate (-1*clock)*x translate -1*y #end } lathe { quadratic_spline 10, <0,0>, <1,1>, <0.5,2>, <1,3>, <0.5,4>, <1,5>, <0.5,6>, <1,7>, <0.5,8>, <1,9> pigment { Silver } finish { ambient .3 phong .75 } translate -5.5*y translate -9.5*x scale 0.3 } lathe { quadratic_spline 10, <0,0>, <1,1>, <0.5,2>, <1,3>, <0.5,4>, <1,5>, <0.5,6>, <1,7>, <0.5,8>, <1,9> pigment { Silver } finish { ambient .3 phong .75 } translate -6*y translate 6*x translate 5*z scale 0.3 } prism { linear_sweep cubic_spline 0, 1, 18, <3,-5>, <3,5>, <-5,0>, <3, -5>, <3,5>, <-5,0>, <2,-4>, <2,4>, <-4,0>, <2,-4>, <2,4>, <-4,0>, <1,-3>, <1,3>, <-3,0>, <1, -3>, <1,3>, <-3,0> pigment { Silver } scale <0.75,0.2,0.2> translate 1*y rotate 15*x rotate -5*y }