//A simplified version of Anthony Bennett's //spiral-sphere. To be used, abused and //enjoyed, with credit when credit is due... //(ie: when your tinkering with this is minimal) default {finish {ambient .5}} #declare R = 10; //radius of the sphere #declare M = pi/5; //my 'magic number' #declare Max = 360; //use 360 for a full sphere #declare A=-25; //what angle to begin //creating the sphere from camera { location <1,1,-2>*R look_at 0 } light_source {<1,1,-1>*R*3 1} union { #while (A} translate y*R rotate } triangle { vrotate(y*R,), //replace with 0 (interesting...) vrotate(y*R,), vrotate(y*R,) pigment {rgb <0,.5,1>} } triangle { vrotate(y*R,), //replace with 0 (interesting...) vrotate(y*R,), vrotate(y*R,) pigment {rgb <0,1,.5>} } #declare A=A+M; #end }