|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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'
Preview of image 'ca_006.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
try gif-format.......
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
-----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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |