![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3C41921e37%40news.povray.org%3E/ca_001.jpg?ttop=441697&toff=5900&preview=1)
Preview of image 'ca_006.jpg'
![ca_006.jpg](/povray.binaries.images/attachment/%3C41921e37%40news.povray.org%3E/ca_006.jpg?ttop=441697&toff=5900&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
try gif-format.......
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
-----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] ifrance com *
* 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Have a look at this:
http://psoup.math.wisc.edu/mcell/index.html
Your students may enjoy it.
Best,
D.
"Dave Matthews" <ns### [at] nospam edu> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |