POV-Ray : Newsgroups : povray.binaries.images : Cellular Automata Server Time
10 Aug 2024 01:25:01 EDT (-0400)
  Cellular Automata (Message 1 to 6 of 6)  
From: Dave Matthews
Subject: Cellular Automata
Date: 10 Nov 2004 08:57:11
Message: <41921e37@news.povray.org>
I was working with a couple of students on cellular automata, and 
thought I'd share the file I used to create the 1-dimensional 
(elementary) version (see PTSF for my code and see 
http://mathworld.wolfram.com/ElementaryCellularAutomaton.html for some 
explanation.

The images are nothing special, and they don't compress very well (by 
their very nature), but I included 2 anyway.  It is somewhat instructive 
to color the cells according to the state of their neighbors.  This 
allows you to anticipate the next generation, and see the rule better. 
I've use the convention:
rgb <state_of_left_neighbor, state_of_cell, state_of_right_neighbor>
so that any cells with green in them (green, yellow, blue-green, white) 
are "alive."

Dave Matthews


Post a reply to this message


Attachments:
Download 'ca_001.jpg' (70 KB) Download 'ca_006.jpg' (95 KB)

Preview of image 'ca_001.jpg'
ca_001.jpg

Preview of image 'ca_006.jpg'
ca_006.jpg


 

From: Eli
Subject: Re: Cellular Automata
Date: 10 Nov 2004 12:35:01
Message: <41925145@news.povray.org>
try gif-format.......


Post a reply to this message

From: Dave Matthews
Subject: Re: Cellular Automata
Date: 10 Nov 2004 13:14:18
Message: <41925a7a$1@news.povray.org>
Eli wrote:
> try gif-format....... 
> 
> 
Hadn't thought of that, but now that I tried it, the 94 K one was only 
reduced to 88 K (at 256 colors.)  At 8 colors it was 33 K, but barely 
identifiable.

Normally I just use jpeg, unless it's something obscene or 
controversial, when jpeg2000 is the traditional choice ;-)

Dave Matthews


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: Cellular Automata
Date: 10 Nov 2004 15:23:52
Message: <419278d8$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave Matthews wrote:
| Eli wrote:
|
|> try gif-format.......
|>
| Hadn't thought of that, but now that I tried it, the 94 K one was only
| reduced to 88 K (at 256 colors.)  At 8 colors it was 33 K, but barely
| identifiable.
|
	Then try png, it should be even smaller...

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBknjYqIYJdJhyixIRAj/3AJ9QASfLTW6bKbobHxdiEel6Ki/cHACeI0/Z
maWBRw2bee7Y0NvvaciELIU=
=/TIQ
-----END PGP SIGNATURE-----


Post a reply to this message

From: Dennis Miller
Subject: Re: Cellular Automata
Date: 10 Nov 2004 20:07:38
Message: <4192bb5a$1@news.povray.org>
Have a look at this:

http://psoup.math.wisc.edu/mcell/index.html

Your students may enjoy it.
Best,
D.

"Dave Matthews" <ns### [at] nospamedu> wrote in message
news:41921e37@news.povray.org...
> I was working with a couple of students on cellular automata, and
> thought I'd share the file I used to create the 1-dimensional
> (elementary) version (see PTSF for my code and see
> http://mathworld.wolfram.com/ElementaryCellularAutomaton.html for some
> explanation.
>
> The images are nothing special, and they don't compress very well (by
> their very nature), but I included 2 anyway.  It is somewhat instructive
> to color the cells according to the state of their neighbors.  This
> allows you to anticipate the next generation, and see the rule better.
> I've use the convention:
> rgb <state_of_left_neighbor, state_of_cell, state_of_right_neighbor>
> so that any cells with green in them (green, yellow, blue-green, white)
> are "alive."
>
> Dave Matthews
>


----------------------------------------------------------------------------
----






----------------------------------------------------------------------------
----


Post a reply to this message

From: Thomas Lake
Subject: Re: Cellular Automata
Date: 11 Nov 2004 01:52:05
Message: <41930c15$1@news.povray.org>
Dave Matthews wrote:
> Eli wrote:
> 
>> try gif-format.......
>>
> Hadn't thought of that, but now that I tried it, the 94 K one was only 
> reduced to 88 K (at 256 colors.)  At 8 colors it was 33 K, but barely 
> identifiable.

I managed to get it down to about a 33K gif without a huge reduction in 
quality, though still noticeable.


Post a reply to this message

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