|
![](/i/fill.gif) |
Nieminen Mika (war### [at] cc tut fi) wrote:
: I think that a scene with hundreds of thousands
: of spheres that make a mandelbrot landscape with only a 20 lines pov-file
: is outstanding :)
I was wondering how small can I make the mandelbrot sphere heightfield.
camera{location<-2,3,-2>look_at 0}light_source{<9,9,-9>1}#declare Z=-1#while(Z
<1)#declare X=-2#while(X<1)#declare r=X#declare i=Z#declare n=0#while(n<1&r*r
+i*i<4)#declare a=2*r*i+Z#declare r=r*r-i*i+X#declare i=a#declare n=n+.05#end
sphere{<X,n,Z>.02pigment{rgb<n,n,0>}}#declare X=X+.02#end#declare Z=Z+.02#end
4 lines. Not bad...
I really like the povray description language :)
--
- Warp. -
Post a reply to this message
|
![](/i/fill.gif) |