POV-Ray : Newsgroups : povray.binaries.images : Another New Signature (81k PNG) : Re: Another New Signature (81k PNG) Server Time
16 Nov 2024 06:17:13 EST (-0500)
  Re: Another New Signature (81k PNG)  
From: Greg Edwards
Date: 10 Mar 2003 12:42:53
Message: <ab43hgrs0tx7.1bxx897elo0de$.dlg@40tude.net>
On Mon, 10 Mar 2003 14:25:37 +0100, Mark Weyer wrote:

>>>>camera{}#macro G(E)sphere{0,.04translate z+E*y*.0015rotate E*z*-1.8pigment{
>>>>#end light_source{20*y-10,1}#local n=0;#while(n<536)G(n)red 1}}#local n=n+1
>>>>;#end#local n=0;#while (n<536)G(-n)rgbt.7}}#local n=n+1;#end // Greg E
>>>
>>>light_source{20*y-10,1#macro G(E)union{#local n=0;#while(E*n<536
>>>)sphere{z+n*y*15e-4.04rotate n*z*-1.8}#local n=n+E;#end pigment{
>>>#end}G(1)red 1}}G(-1)rgbt.7}} // Greg E
>> 
>> light_source{20*y-10#macro S(d)sphere{z+d*y*15e-4.04rotate-z*d*1.8pigment
>> {rgbt#end#local n=576;1}#while(n)S(n)x}}S(-n).7}}#local n=n-1;#end//GregE
> 
> Did you notice that it is not lossless? Then even shorter:
> 
> light_source#macro G(E)sphere{z+E*y*5e-3.04rotate-z*E*6pigment{rgbt#end{
> 20*y-10#local n=162;1}#while(n)#local n=n-.3;G(n)x}}G(-n).7}}#end//GregE

lmao! I am impressed. Looking at some of the changes you made, I can see 
some pretty moronic mistakes (if you can call them that) I made. Why the 
hfil did I use translate on that sphere anyway and not even notice?

-- 
light_source#macro G(E)sphere{z+E*y*5e-3.04rotate-z*E*6pigment{rgbt#end{
20*y-10#local n=162;1}#while(n)#local n=n-.3;G(n)x}}G(-n).7}}#end//GregE


Post a reply to this message

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