POV-Ray : Newsgroups : povray.off-topic : You thought 4K graphics demos were impressive? Server Time
5 Sep 2024 09:24:02 EDT (-0400)
  You thought 4K graphics demos were impressive? (Message 1 to 10 of 42)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Darren New
Subject: You thought 4K graphics demos were impressive?
Date: 27 Aug 2009 17:17:13
Message: <4a96f7d9$1@news.povray.org>
http://nanochess.110mb.com/chess3.html

-- 
   Darren New, San Diego CA, USA (PST)
   Understanding the structure of the universe
    via religion is like understanding the
     structure of computers via Tron.


Post a reply to this message

From: Tim Cook
Subject: Re: You thought 4K graphics demos were impressive?
Date: 27 Aug 2009 18:41:22
Message: <4a970b92$1@news.povray.org>
Darren New wrote:
> http://nanochess.110mb.com/chess3.html

That is exceedingly disturbing.

--
Tim Cook
http://empyrean.freesitespace.net


Post a reply to this message

From: clipka
Subject: Re: You thought 4K graphics demos were impressive?
Date: 27 Aug 2009 21:00:26
Message: <4a972c2a$1@news.povray.org>
Darren New schrieb:
> http://nanochess.110mb.com/chess3.html

CAUTION:

My virus scanner warns me about some of that page's content! I didn't 
check whether it's a true or false alert, but I'd recommend a heightened 
attention to potential security issues when visiting that page.


Post a reply to this message

From: nemesis
Subject: Re: You thought 4K graphics demos were impressive?
Date: 27 Aug 2009 21:45:00
Message: <web.4a9735bea684af8f4c8f68f10@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> http://nanochess.110mb.com/chess3.html

that man is clearly a real programmer. ^_^

also amazing the things he does with javascript, the zooming of the photo...
checked the source? :)

http://nanochess.110mb.com/efectos.js

perhaps he generated it from perl... :P


Post a reply to this message

From: triple r
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 00:55:00
Message: <web.4a97630da684af8f958421d50@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> http://nanochess.110mb.com/chess3.html

That's pretty amazing.  Did you try it?  How well does it play?  I mean, not
well of course, but is it at least somewhat competent?  I saw a similar program
whose features included occasional suicide and such.  One of those "features,
not bugs" sort of things.

I've played around with these obfuscated things a little, and I was pretty
surprised how much you can fit in a kilobyte or two of c.  Not to toot my own
horn, but I'm not a skilled programmer in the least, and for 1728 bytes, I
managed to get a 3D incompressible fluid simulator with temperature convection
and buoyancy, adjustable size, an X11 display, volume rendering with faked
scattering, and animation output and playback.  Of course it's no chess
program, but the only trick is to do exactly what he did and iterate about five
times, realizing each time the way you should have done it.  It's actually
pretty addicting...  I think the most elegant I ever saw was this:

http://www.ioccc.org/2000/dhyang.c

 - Ricky


Post a reply to this message

From: Darren New
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 01:04:54
Message: <4a976576$1@news.povray.org>
triple_r wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> http://nanochess.110mb.com/chess3.html
> 
> That's pretty amazing.  Did you try it? 

No.  He says it goes 6 ply on that page, tho.

-- 
   Darren New, San Diego CA, USA (PST)
   Understanding the structure of the universe
    via religion is like understanding the
     structure of computers via Tron.


Post a reply to this message

From: clipka
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 02:21:45
Message: <4a977779$1@news.povray.org>
triple_r schrieb:
> I think the most elegant I ever saw was this:
> 
> http://www.ioccc.org/2000/dhyang.c

Only looks that elegant at first glance, until you notice that he's 
actually kind of cheating: First line defines a single-character empty 
preprocessor macro, which he makes quite liberal use of to achieve the 
desired formatting of the code.


Post a reply to this message

From: triple r
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 02:55:00
Message: <web.4a977f13a684af8f958421d50@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Only looks that elegant at first glance, until you notice that he's
> actually kind of cheating: First line defines a single-character empty
> preprocessor macro, which he makes quite liberal use of to achieve the
> desired formatting of the code.

Did you run it?  If you run it, the output is a different beautifully-formatted
c-code.  If you run that, the output is another formatted c-code.  If you run
that, the output is another formatted c-code.  If you run that, the output is
the first result again.  Basically:

original -> #1
#1 -> #2
#2 -> #3
#3 -> #1

It's probably more mundane than it looks, but at a glance it's pretty slick.
Maybe RLE compression?

 - Ricky


Post a reply to this message

From: Warp
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 08:34:34
Message: <4a97ceda@news.povray.org>
triple_r <nomail@nomail> wrote:
> Did you run it?  If you run it, the output is a different beautifully-formatted
> c-code.  If you run that, the output is another formatted c-code.  If you run
> that, the output is another formatted c-code.  If you run that, the output is
> the first result again.  Basically:

> original -> #1
> #1 -> #2
> #2 -> #3
> #3 -> #1

  It's one of the best self-replicating programs I have ever seen.

  Most self-replicating programs just replicate themselves, and that's it.
No ascii art either.

  This program, however, prints a different program, which prints a third
program, which prints the original program. And all these programs use
ascii art formatting. That's some self-replication there.

  It's just incredible how he could store the *shapes* of all four programs
inside a single self-replicating program.

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 12:31:21
Message: <4a980659$1@news.povray.org>
Warp wrote:
>   It's one of the best self-replicating programs I have ever seen.

FWIW, this is called a "quine", after the philosopher Quine.

http://en.wikipedia.org/wiki/Quine

-- 
   Darren New, San Diego CA, USA (PST)
   Understanding the structure of the universe
    via religion is like understanding the
     structure of computers via Tron.


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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