POV-Ray : Newsgroups : povray.text.scene-files : Shortest Mandelbrot-landscape-made-of-spheres ever Server Time
31 Oct 2024 12:18:25 EDT (-0400)
  Shortest Mandelbrot-landscape-made-of-spheres ever (Message 1 to 1 of 1)  
From: Warp
Subject: Shortest Mandelbrot-landscape-made-of-spheres ever
Date: 17 May 2000 09:40:42
Message: <3922a159@news.povray.org>
We don't have to count the #version line, do we?-)
  I would have used csqr() or cpow() to make it shorter, but it seems that
they are both buggy.

#version Unofficial MegaPov 0.5;

camera{location 2look_at 0}light_source{y*9,1}$I=-2;#while(I<2)$R=-2;#while
(R<1)$Z=<R,I>;$N=0;#while(N<.5&cabs2(Z)<4)$Z=cmult(Z,Z)+<R,I>;$N=N+.03;#end
sphere{<R,N,I>.02pigment{rgb x}}$R=R+.03;#end$I=I+.03;#end


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.