Giter VIP home page Giter VIP logo

cellular-automata's Introduction

Cellular-Automata

This repository contains a collection of simple simulations based on cellular automata (CA):

  • LatticeGasCA
    • A very simplistic model of gas particle movement, using the Margolus-neighborhood
  • ThermalCreep
    • A simple model of certain fictitious substances (creep) being propagated though a grid, by agents
    • The exact purpose of this sub-project is not determined yet, it might either lead to aquarium-like artificial life simulations or games.
    • Inspired by games like Starcraft and Creeper World 3.
    • It is intended to integrate physical or pseudo-physical aspects into the simulations, e.g.: temperature.
  • Sugarscape
    • Artificial Life simulation, first conceived by Axtell and Epstein. Wikipedia
    • It consists of agents who move through an artificial world laid out as a grid and try to survive by harvesting resources (sugar and spice). All the while they are trying to sustain their needs by either foraging or trading. Agents also have to procreate and fight diseases and competitors from other tribes. The most interesting aspect to Sugarscape is to create emergent behavior while trying to keep the agents' behavioral rules as simple as possible.
    • V0
      • A very basic implementation: only one resource, agents forage and influence others culture.
      • no longer in development
    • V1
      • More advanced version: two resources, tribes and trading, reproduction.
      • no longer in development
    • V2
      • Most advanced version so far. Code has been cleaned up a lot compared to V1.
      • Features: two resources, harvesting, trading, tribes, territoriality, combat, reproduction, diseases, mendelian genetics etc.

Technical Requirements

All of the sub-projects are written completely in Python 3.4 and use the Pygame engine for visualization. Required libraries are:

  • Matplotlib
  • Numpy
  • Pygame

all of which can be found here: http://www.lfd.uci.edu/~gohlke/pythonlibs/ (windows only)

Media

This short clip shows the Sugarscape V2 in action.

cellular-automata's People

Contributors

micutio avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.