POV-Ray : Newsgroups : povray.off-topic : It's a riddle : Re: It's a riddle Server Time
11 Oct 2024 05:21:47 EDT (-0400)
  Re: It's a riddle  
From: Mike the Elder
Date: 7 Feb 2008 11:00:00
Message: <web.47ab29fd5152fc42e2b2e7080@news.povray.org>
Invisible <voi### [at] devnull> wrote:

> OMG... That's like... sublime!

> In fact, you know what? I think even *normal* people might be able to
> comprehend this code. w00t!

My gosh, you're right!  We can't have THAT.  Crunch code to the rescue:

#macro Gen_WN(YE) #declare WN = 1+3*(YE>.5) + (YE>4) * int(YE-4) +( YE>12) *
int(12-YE); #debug concat("WN=",str(WN))#end


Much better.

BG,
MC


Post a reply to this message

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