|
![](/i/fill.gif) |
Sir Charles W. Shults III <aic### [at] cfl rr com> wrote:
> Very nice recursive call! Also, I see that the middle term of each call is
> 1, so that could also be pulled out, true?
Let me assure you that I tried to think every possible trick I know of
in order to get rid of that repeating 1, but I couldn't come up with anything
which would have made the code shorter.
If POV-Ray supported default values for macro parameters then it would
have been possible, but...
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |