#version 3.7; global_settings{ assumed_gamma 1.0 } #declare Focus=2.1; camera { orthographic location -10*z direction z up Focus*y right Focus*x } #include "colors.inc" background { White } #default{ finish { emission 1.0 diffuse 0.0 reflection 0.0 } } box { <-1,-1,0>,<1,1,0> texture { checker texture { pigment { color rgb <1,0.5,0.5> } } texture { pigment { color rgb <1,1.0,0.5> } } } translate z } #declare Off=0.05; #declare Small=0.15; cylinder { <-1,-1,0>,<1,1,0>,0.01 texture { pigment { color red 1 }}} cylinder { <-1,1,0>,<1,-1,0>,0.01 texture { pigment { color red 1 }}} cylinder { <-1,0,0>,<0,1,0>,0.01 texture { pigment { color red 1 }}} cylinder { <1,0,0>,<0,-1,0>,0.01 texture { pigment { color red 1 }}} cylinder { <-1,-1+Small,0>,<1-Small,1,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <-1+Small,-1,0>,<1,1-Small,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <-1,1-Small,0>,<1-Small,-1,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <-1+Small,1,0>,<1,-1+Small,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <-1+Small,0,0>,<0,1-Small,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <-1,0+Small,0>,<0-Small,1,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <1-Small,0,0>,<0,-1+Small,0>,0.01 texture { pigment { color blue 1 }}} cylinder { <1,0-Small,0>,<0+Small,-1,0>,0.01 texture { pigment { color blue 1 }}} #declare Rad = 0.01; sphere_sweep{ cubic_spline 16, <-1.5,0,0>,Rad, <-1,0,0>,Rad, <-0.6,0,0>,Rad, <-0.7,0.1,0>,Rad, <-0.3,0.1,0>,Rad, <-0.4,0,0>,Rad, <-0.2,0,0>,Rad, <0,0,0>,Rad, <0.2,0,0>,Rad, <0.4,0,0>,Rad, <0.3,-0.1,0>,Rad, <0.55,-0.2,0>,Rad, <0.7,-0.1,0>,Rad, <0.6,0,0>,Rad, <1,0,0>,Rad, <1.5,0,0>,Rad texture { pigment { color rgb 0 } } } sphere_sweep{ cubic_spline 19, <0,1.5,0>,Rad, <0,1,0>,Rad, <0,0.6,0>,Rad, <-0.1,0.7,0>,Rad, <-0.1,0.3,0>,Rad, <0,0.4,0>,Rad, <0.1,0.1,0>,Rad, <0.1,0.01,0>,Rad, <0.1,0,0>,Rad, <0,0,0>,Rad, <-0.1,0,0>,Rad, <-0.1,-0.01,0>,Rad, <-0.1,-0.1,0>,Rad, <0,-0.4,0>,Rad, <-0.1,-0.3,0>,Rad, <-0.1,-0.7,0>,Rad, <0,-0.6,0>,Rad, <0,-1,0>,Rad, <0,-1.5,0>,Rad texture { pigment { color rgb 0 } } } cylinder { <-0.5-Off,0,0>,<-1+Small+Off,0,0>,Rad*3 texture { pigment { Green } } translate +z} cylinder { <-Small-Off*2,Off,0>,<-0.5+Off,0.5-Small-Off*2,0>,Rad*3 texture { pigment { DarkGreen } } translate +z} cylinder { <-0.5+Off,0,0>,<-Small-Off,0,0>,Rad*3 texture { pigment { Yellow } } translate +z} cylinder { <-1+Small+2*Off,Off,0>,<-0.5-Off,0.5-Small-2*Off,0>,Rad*3 texture { pigment { Gray50 } } translate +z}