POV-Ray : Newsgroups : povray.general : *almost* four lines! ;) Server Time
7 Aug 2024 19:23:57 EDT (-0400)
  *almost* four lines! ;) (Message 1 to 4 of 4)  
From: David Fontaine
Subject: *almost* four lines! ;)
Date: 11 May 2001 18:24:06
Message: <3AFC655B.1BEDB66A@faricy.net>
#macro _(n)(asc(substr("B7B9H7A5A;HABA59BFBH;D;JBPJHAHJPBUBWHU;UASAY",n,1))-53)
#end#macro q(r)#if(r)#local c=1;union{#while(c<45)object{q(r-1)rotate 90*z*int(
_(c)/13)scale 1/7translate<_(c+1),mod(_(c),13)>}#local c=c+2;#end}#else polygon
{5,0,<42,0>,<42,14>,<0,14>,0}#end#end object{q(3)pigment{rgb 10}translate<3,1,-
5>*-7}                                                                /* DAF */

And really I should limit lines to around 75 chars. 79 cuts it awfully close! I
actually changed my word-wrap settings to send this.

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: David Fontaine
Subject: And the 72-char-line version
Date: 11 May 2001 18:29:28
Message: <3AFC6699.E9DB912D@faricy.net>
#macro _(n)(asc(substr("B7B9H7A5A;HABA59BFBH;D;JBPJHAHJPBUBWHU;UASAY",n
,1))-53)#end#macro q(r)#if(r)#local c=1;union{#while(c<45)object{q(r-1)
rotate 90*z*int(_(c)/13)scale 1/7translate<_(c+1),mod(_(c),13)>}#local 
c=c+2;#end}#else polygon{5,0,<42,0>,<42,14>,<0,14>,0}#end#end object{q(
3)pigment{rgb 10}translate<3,1,-5>*-7}                        /* DAF */

My NN word-wrap was set at 72.  But, I don't think this is obfuscated
enough.  Too many keywords.  I started with the idea and tried to
obfuscate it, rather than going right for obfuscation.

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Thomas Charron
Subject: Re: And the 72-char-line version
Date: 15 May 2001 09:58:33
Message: <3b013609$1@news.povray.org>
Have it make some macros that take like ROT13ed stuff, unrot it, write
it to file.  Later, have it open and read that file.  8)  That way, all of
the obviouse keywords and function names are a bit more obfuscated.

    Ya really wanna have fun, throw in several, some of which turn into pov
stuff, the rest into jiberish that may drive a texture or something of the
sort.  That way theres lots of paths to follow..  8)

"David Fontaine" <dav### [at] faricynet> wrote in message
news:3AFC6699.E9DB912D@faricy.net...
> #macro _(n)(asc(substr("B7B9H7A5A;HABA59BFBH;D;JBPJHAHJPBUBWHU;UASAY",n
> ,1))-53)#end#macro q(r)#if(r)#local c=1;union{#while(c<45)object{q(r-1)
> rotate 90*z*int(_(c)/13)scale 1/7translate<_(c+1),mod(_(c),13)>}#local
> c=c+2;#end}#else polygon{5,0,<42,0>,<42,14>,<0,14>,0}#end#end object{q(
> 3)pigment{rgb 10}translate<3,1,-5>*-7}                        /* DAF */
>
> My NN word-wrap was set at 72.  But, I don't think this is obfuscated
> enough.  Too many keywords.  I started with the idea and tried to
> obfuscate it, rather than going right for obfuscation.
>
> --
> David Fontaine  <dav### [at] faricynet>  ICQ 55354965
> My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: David Fontaine
Subject: Re: And the 72-char-line version
Date: 15 May 2001 18:19:23
Message: <3B01AA3A.56D73C90@faricy.net>
Thomas Charron wrote:
> 
>     Have it make some macros that take like ROT13ed stuff, unrot it, write
> it to file.  Later, have it open and read that file.  8)  That way, all of
> the obviouse keywords and function names are a bit more obfuscated.
> 
>     Ya really wanna have fun, throw in several, some of which turn into pov
> stuff, the rest into jiberish that may drive a texture or something of the
> sort.  That way theres lots of paths to follow..  8)

Aww, but it's already more than four lines!  8)

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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