Artifical Life - a job for someone else

M

Michael Foord

I really miss a decent Cellular Automota program and I was really
surprised that there weren't lot's of implementations for python.

I've seen 'cage' around, but this uses curses so doesn't work on
windoze :-( *Someone* should do a decent Tkinter version of life !!
Great fun. Unfortunately it won't be me as I've got too many projects
on at the moment....

Regards,

Fuzzyman

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
N

Nick Vargish

I really miss a decent Cellular Automota program and I was really
surprised that there weren't lot's of implementations for python.

One of the samples in the PythonCard distribution is an implementation
of the classic Conway "Life".

Nick
 
E

Erik Max Francis

Michael said:
I really miss a decent Cellular Automota program and I was really
surprised that there weren't lot's of implementations for python.

I've seen 'cage' around, but this uses curses so doesn't work on
windoze :-(

I know that Kevin Altis at one point was experimenting with hooking up
CAGE to PythonCard; I don't know how far he got or whether it eventually
got released (as a PythonCard sample). Martijn Faassen was kind enough
to let me know about a CAGE integration he did for pygame, which
apparently is working and he sent me sample code (and I'm sure he'd be
happy to send it to you).

But even if neither of those things interest you, there _is_ a Python
curses module that works with Windows:

http://flangy.com/dev/python/curses/

I haven't looked at it recently, but when it was initially announced I
checked CAGE out in it and found to my pleasant surprise that it worked
flawlessly and I didn't see any problems (the Web page even mentions my
report). As I said I haven't examined it recently, but I'm sure it's
only improved in the meantime.
 
I

Irmen de Jong

Michael said:
I really miss a decent Cellular Automota program and I was really
surprised that there weren't lot's of implementations for python.

While not in Python (but Java instead), I've written an
online one-dimensional cellular automata simulator.
http://www.xs4all.nl/~irmen/comp/cellular.html

It creates those funny pictures you may recognise from
Stephen Wolfram's book.

If you want the source code, let me know. It's probably easy
to convert to Python :)

--Irmen
 
M

Michael Foord

Irmen de Jong said:
While not in Python (but Java instead), I've written an
online one-dimensional cellular automata simulator.
http://www.xs4all.nl/~irmen/comp/cellular.html

It creates those funny pictures you may recognise from
Stephen Wolfram's book.

If you want the source code, let me know. It's probably easy
to convert to Python :)

--Irmen

Thanks for the offer !
I think I'll play with the other two suggestions first and see how far
I get ! Learning java to port it over might take me a while longer ;-)

Regards,

Fuzzy

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
M

Michael Foord

Erik Max Francis said:
I know that Kevin Altis at one point was experimenting with hooking up
CAGE to PythonCard; I don't know how far he got or whether it eventually
got released (as a PythonCard sample). Martijn Faassen was kind enough
to let me know about a CAGE integration he did for pygame, which
apparently is working and he sent me sample code (and I'm sure he'd be
happy to send it to you).

But even if neither of those things interest you, there _is_ a Python
curses module that works with Windows:

http://flangy.com/dev/python/curses/

I haven't looked at it recently, but when it was initially announced I
checked CAGE out in it and found to my pleasant surprise that it worked
flawlessly and I didn't see any problems (the Web page even mentions my
report). As I said I haven't examined it recently, but I'm sure it's
only improved in the meantime.


Wow - this is impressive.
CAGE works great in this version of curses.

Thanks
Fuzzy

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
R

Richie Hindle

[Simon]
This link appears to be broken. Does anyone have an alternative?

It works for me when I cut'n'paste it into my browser, but fails when I
double-click it. It's preceded by a hard tab - that's probably what's
confusing my MUA. Maybe yours has the same problem?
 
G

George Kinney

Michael Foord said:
I really miss a decent Cellular Automota program and I was really
surprised that there weren't lot's of implementations for python.

I've seen 'cage' around, but this uses curses so doesn't work on
windoze :-( *Someone* should do a decent Tkinter version of life !!
Great fun. Unfortunately it won't be me as I've got too many projects
on at the moment....

Well, this has zip to do with python, but I've really enjoyed playing with
it:
http://psoup.math.wisc.edu/Life32.html
 
D

Derek Ledbetter

While not in Python (but Java instead), I've written an
online one-dimensional cellular automata simulator.
http://www.xs4all.nl/~irmen/comp/cellular.html

It creates those funny pictures you may recognise from
Stephen Wolfram's book.

If you want the source code, let me know. It's probably easy
to convert to Python :)

I wrote a one-dimensional cellular automaton program for the Atari 2600.
It only has 40 cells in the line, since that's the maximum resolution
that I could display using the playfield graphics. It's written in
assembly language, because a higher-level language simply won't work on
that system.

http://www.serve.com/derekl/vcs/automaton.html

--
Derek Ledbetter
(e-mail address removed)

Heavy boots of lead
fills his victims full of dread
Running as fast as they can
Iron Man lives again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top