POV-Ray : Newsgroups : povray.general : sig needs shortening : Re: sig needs shortening Server Time
4 Aug 2024 20:14:39 EDT (-0400)
  Re: sig needs shortening  
From: Tom Melly
Date: 14 Feb 2003 08:34:22
Message: <3e4cf05e@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3e4ce6f1@news.povray.org...
>
>   This is not only shorter, but I would say that a lot more obfuscated
> as well:
>
> #macro A(B,C,V,R,Z)#if(B-256)#if(V-128/B>=0)#local V=V-128/B;sphere{0
> .5translate<C-4R,9>pigment{rgb<1-C/8R/2C/8>}}#end A(B*2C+1V,R,Z)#else
> #if(R)A(1,0int(rand(Z)*300)R-1Z)#end#end#end A(256,0,0,3seed(20267520
> ))light_source{-5 1}//TMelly

Heh - I'd got halfway to this, but kept hitting brickwalls that you've
succesfully navigated.

Many thanks to all.


Post a reply to this message

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