|
![](/i/fill.gif) |
Tor Olav Kristensen wrote:
>
> It can be done with 2 characters less.
> (The image below is done that way.)
>
> So Warp, can you spot how to shorten your code ?
>
I could not find it until now, but i have a version that is 8 characters
shorter than Warp's, although i'm not sure if you will accept it, because
it's not made of spheres.
I also managed to eliminate one while loop from Warp's version, but that
makes it slightly larger, maybe someone can also reduce this:
camera{location 2look_at 0}light_source{9,1}$R=0;#while
(R<99)sphere{<int(R)/99,eval_pattern(mandel 9,
<(R-int(R)-.5)*3,int(R)/40-1>),R-int(R)>.01pigment{bozo}}$R=R+.02;#end
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |