POV-Ray : Newsgroups : povray.general : Shortest Code Contest Server Time
7 Aug 2024 01:26:46 EDT (-0400)
  Shortest Code Contest (Message 11 to 20 of 33)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Anders K 
Subject: Re: Shortest Code Contest
Date: 18 Jan 2002 15:36:17
Message: <3c488741$1@news.povray.org>
> sig files already have a max size: 320 bytes.  Any longer and they're not
> sig files.

According to who? Mine is just over 400 bytes.

Anders

--
light_source{6#local D#macro B(E)#macro A(D)#declare#declare C=mod(E
D);E=(E-C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(C<3)
}cylinder{0(C=<1 2>).2translate<D+C*A(2)A(4)#else}intersection{torus
{1 .2}box{-2y}rotate<1 0C>*90translate<D+1A(2)*2+1#end-2 13>pigment{
rgb x}finish{specular 1}#end#end#end=-8;1B(445000298)B(519053970)B(
483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

From: Bill DeWitt
Subject: Re: Shortest Code Contest
Date: 18 Jan 2002 15:37:59
Message: <3c4887a7$1@news.povray.org>
"Anders K." <and### [at] prostard2gcom> wrote in message
news:3c488741$1@news.povray.org...
> > sig files already have a max size: 320 bytes.  Any longer and they're
not
> > sig files.
>
> According to who?

    According to the convention of four lines of eighty characters.


Post a reply to this message

From: Warp
Subject: Re: Shortest Code Contest
Date: 18 Jan 2002 16:39:18
Message: <3c489606@news.povray.org>
Bill DeWitt <bde### [at] cflrrcom> wrote:
:     According to the convention of four lines of eighty characters.

  In fact, it's better to use well less than 80 characters in order to avoid
line wrapping in quotes (I think that the recommendation is something like
72 characters in a line).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Warp
Subject: Re: Shortest Code Contest
Date: 18 Jan 2002 16:40:29
Message: <3c48964d@news.povray.org>
Greg M. Johnson <gregj:-)565### [at] aolcom> wrote:
: Judges reserve right to reject entries using features never mentioned in the
: docs.

  I think that technically he has the right to add whatever he likes to
the docs... ;)

-- 
#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

From: Ron Parker
Subject: Re: Shortest Code Contest
Date: 18 Jan 2002 16:54:12
Message: <slrna4h6c7.6q9.ron.parker@fwi.com>
On 18 Jan 2002 16:39:18 -0500, Warp wrote:
> Bill DeWitt <bde### [at] cflrrcom> wrote:
>:     According to the convention of four lines of eighty characters.
> 
>   In fact, it's better to use well less than 80 characters in order to avoid
> line wrapping in quotes (I think that the recommendation is something like
> 72 characters in a line).

Signatures are exempt from that rule, because only lusers quote signatures. :)
Google on McQuary Limit, or see 
http://www.tuxedo.org/~esr/jargon/html/entry/McQuary-limit.html

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

From: Bill DeWitt
Subject: Re: Shortest Code Contest
Date: 18 Jan 2002 19:21:58
Message: <3c48bc26@news.povray.org>
"Ron Parker" <ron### [at] povrayorg> wrote :
>
> Signatures are exempt from that rule, because only lusers quote
signatures. :)
>
> plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip
x}rotate
> z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red
1rotate 60
> *z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb
z}text{ttf"arial.ttf"
> "RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron
Parker

    I wonder why that is....


Post a reply to this message

From: Mark James Lewin
Subject: Re: Shortest Code Contest
Date: 20 Jan 2002 20:19:27
Message: <3C4B6839.6BEFE6E7@yahoo.com.au>
Nice idea. 500 bytes is heaps to play with.

"Greg M. Johnson" wrote:

>     c) no #includes or #reads or #writes or #fopens are permitted.

What about using fonts? Should this be limited to those that come with POV?

> 1) An 800 x 600 jpg of your pov file will be prepared.

I assume you will be adding global_settings{assumed_gamma 1} to all the entrants?

MJL

--
text{ttf"timrom.ttf"concat(#local O=1;#while(O<7)chr(val(substr(concat(#local Q=
1;#while(Q<7)str(asc(substr("???<?>",Q,1))-56,0,0),#local Q=Q+1;#end""),O,2))),#
local O=O+2;#end"").1,0pigment{rgb 9}translate-<1,.3,-2>} // MJL


Post a reply to this message

From: Tom Melly
Subject: Re: Shortest Code Contest
Date: 21 Jan 2002 09:36:40
Message: <3c4c2778$1@news.povray.org>
"Greg M. Johnson" <gregj:-)565### [at] aolcom> wrote in message
news:3c483541$1@news.povray.org...

<snip>

A couple of ideas coming out of the things others have pointed out...

1. Wait until 3.5 is officially released
2. The file should illustrate a phrase - e.g. "POV 3.5"
3. No fonts or external files of any kind....


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Shortest Code Contest
Date: 21 Jan 2002 11:48:32
Message: <3c4c4660$1@news.povray.org>
"Mark James Lewin" <m_j### [at] yahoocomau> wrote in message
news:3C4B6839.6BEFE6E7@yahoo.com.au...
> Nice idea. 500 bytes is heaps to play with.
> "Greg M. Johnson" wrote:
> >     c) no #includes or #reads or #writes or #fopens are permitted.
> What about using fonts? Should this be limited to those that come with
POV?
>

Surely.


> > 1) An 800 x 600 jpg of your pov file will be prepared.
> I assume you will be adding global_settings{assumed_gamma 1} to all the
entrants?
>

I'm really ignorant on this one:  why is it important?


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Shortest Code Contest
Date: 21 Jan 2002 11:53:14
Message: <3c4c477a@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3c4c2778$1@news.povray.org...
> 1. Wait until 3.5 is officially released
>

Well, is that  a half dozen weeks or a half dozen months??


> 2. The file should illustrate a phrase - e.g. "POV 3.5"

Well, on one hand, the idea is to impress a newbie, (okay, me!).  I think
having it open allows a wide variety of coolness: fractals, landscapes,
etc..  So I'd vote to keep it wide open.


> 3. No fonts or external files of any kind....
>

Okay, is this covered by the requirement of "no includes"?


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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