Eduardo Cavazos wrote:

New demos in Agave:

    ikarus --r6rs-script ~/agave/demos/brians-brain-cube.scm
    ikarus --r6rs-script ~/agave/demos/brians-brain-space.scm

Brian's Brain is a cellular automata rule. The first demo projects the space onto a cube. The second demo renders each step "through space".

Ikarus really shines here. Cellular automata simulations are an area were few Schemes provide good performance on large spaces.

I got a little carried away today. :-)

Mirek Wójtowicz is the author of MCell, a very nice cellular automata explorer:

    http://www.mirekw.com/ca/index.html

His site has a lexicon of rules in various families:

    http://www.mirekw.com/ca/ca_rules.html

One of the nicest is the 'generations' family. Today I added an engine for exploring these to Agave. The 'life' family of rules are actually S/B/C rules with 'C' set to 2, so this engine can run those as well. The engine is pretty small, weighing in at 248 lines:

    http://github.com/dharmatech/agave/raw/master/demos/ca-gen.sls

A bunch of demos that use the new engine:

    agave/demos/ca-belzhab.scm
    agave/demos/ca-brians-brain.scm
    agave/demos/ca-seeds.scm
    agave/demos/ca-spirals.scm
    agave/demos/ca-star-wars.scm
    agave/demos/ca-walled-cities.scm

Ed

Reply via email to