|
 |
Yay! After some further thought, I finally got it to work. This is very cool! I
had to cheat by using the 'sum' function to simulate an 'if' statement:
camera{orthographic location <-0.5,0,-1.5> look_at <-0.5,0,0> angle 90}
#declare imax=24;
#declare f=function(i,x,y,xc,yc)
{sum(j,(i+1)/imax,1,f(i+1,x*x-y*y+xc,2*x*y+yc,xc,yc))+sum(j,1,i/imax,sqrt(x*x+y*y))};
plane{z,0 pigment{function{f(0,0,0,x,y)}} finish{ambient 1}}
Post a reply to this message
|
 |