#include "colors.inc" background {White} camera{ location <0, 0, -10> look_at <0, 0, 0> } light_source{ <10,10,-10> White } light_source{ <-10,10,-10> White } #declare dist = 0; #while (dist < 5) union { sphere { <-5, 3, 0>, 1 pigment {rgbt<1,0,0,.8>} } sphere { <-5, 1.5+.1*dist, 0>, 1 pigment {rgbt<0,0,1,.8>} } blob { threshold .5 sphere { <-5, 3, 0>, 1, 1 pigment {Red} } sphere { <-5, 1.5+.1*dist, 0>, 1, 1 pigment {Blue} } } translate < 2.5*dist,0,0> } #declare dist = dist + 1; #end #declare dist = 0; #while (dist < 5) union { sphere { <-5, -1, 0>, 1 pigment {rgbt<1,0,0,.8>} } sphere { <-5, -2.5+.1*dist, 0>, 1 pigment {rgbt<0,0,1,.8>} } blob { threshold .8 sphere { <-5, -1, 0>, 1, 1 pigment {Red} } sphere { <-5, -2.5+.1*dist, 0>, 1, 1 pigment {Blue} } } translate < 2.5*dist,0,0> } #declare dist = dist + 1; #end