Artifical Life - a job for someone else

Discussion in 'Python' started by Michael Foord, Oct 12, 2004.

  1. 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
     
    Michael Foord, Oct 12, 2004
    #1
    1. Advertising

  2. Michael Foord

    Nick Vargish Guest

    (Michael Foord) writes:

    > 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

    --
    # sigmask || 0.2 || 20030107 || public domain || feed this to a python
    print reduce(lambda x,y:x+chr(ord(y)-1),' Ojdl!Wbshjti!=obwAcboefstobudi/psh?')
     
    Nick Vargish, Oct 12, 2004
    #2
    1. Advertising

  3. Michael Foord wrote:

    > 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.

    --
    __ Erik Max Francis && && http://www.alcyone.com/max/
    / \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
    \__/ Winners are men who have dedicated their whole lives to winning.
    -- Woody Hayes
     
    Erik Max Francis, Oct 13, 2004
    #3
  4. Michael Foord wrote:
    > 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
     
    Irmen de Jong, Oct 13, 2004
    #4
  5. Irmen de Jong <> wrote in message news:<416c6e9d$0$36860$4all.nl>...
    > Michael Foord wrote:
    > > 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


    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
     
    Michael Foord, Oct 13, 2004
    #5
  6. Nick Vargish <> wrote in message news:<-did-not-set--mail-host-address--so-tickle-me>...
    > (Michael Foord) writes:
    >
    > > 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


    Thanks to you and Eric - looks like a couple of avenues I haven't discovered.

    Many Thanks

    Fuzzy

    http://www.voidspace.org.uk/atlantibots/pythonutils.html
     
    Michael Foord, Oct 13, 2004
    #6
  7. Erik Max Francis <> wrote in message news:<>...
    > Michael Foord wrote:
    >
    > > 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.



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

    Thanks
    Fuzzy

    http://www.voidspace.org.uk/atlantibots/pythonutils.html
     
    Michael Foord, Oct 14, 2004
    #7
  8. Michael Foord wrote:

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


    Yes, he did a fine job.

    --
    __ Erik Max Francis && && http://www.alcyone.com/max/
    / \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
    \__/ Nature likes to hide herself.
    -- Heraclitus
     
    Erik Max Francis, Oct 15, 2004
    #8
  9. Michael Foord

    Simon Foster Guest

    (Michael Foord) wrote in message news:<>...
    > >
    > > 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/
    > >


    This link appears to be broken. Does anyone have an alternative?
     
    Simon Foster, Oct 15, 2004
    #9
  10. [Simon]
    > > http://flangy.com/dev/python/curses/

    >
    > 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?

    --
    Richie Hindle
     
    Richie Hindle, Oct 15, 2004
    #10
  11. "Michael Foord" <> wrote in message
    news:...
    > 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
     
    George Kinney, Oct 15, 2004
    #11
  12. "George Kinney" <> wrote in message news:<>...
    > "Michael Foord" <> wrote in message
    > news:...
    > > 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


    Now that is great fun.
    Thanks

    Fuzzy
     
    Michael Foord, Oct 20, 2004
    #12
  13. On Tue, 12 Oct 2004 16:54:04 -0700, Irmen de Jong wrote
    (in message <416c6e9d$0$36860$4all.nl>):

    > 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


    Heavy boots of lead
    fills his victims full of dread
    Running as fast as they can
    Iron Man lives again!
     
    Derek Ledbetter, Oct 30, 2004
    #13
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    320
    Alex Martelli
    Sep 3, 2003
  2. Replies:
    25
    Views:
    694
    MonkeeSage
    Oct 1, 2006
  3. kj
    Replies:
    15
    Views:
    591
    Lawrence D'Oliveiro
    May 23, 2009
  4. erick232
    Replies:
    3
    Views:
    915
    joris
    Oct 1, 2010
  5. Tom Copeland
    Replies:
    0
    Views:
    128
    Tom Copeland
    Oct 16, 2003
Loading...

Share This Page