Git Product home page Git Product logo

ultimate-cellular-automaton's Introduction

The World of Automata ๐Ÿš€

โš™๏ธ Made for Timathon | Theme : Exploration

Simulate a world of tiny tiny cells, where you get to define the rules.
Your rules may be simple, complex or something god-like, no restrictions for your imagination.
Start your symphony and let the cells dance to it, make sure it is good.

Rules for creating rules is simple, Explore the world that you created.

Even Simple Rules Can Bring Out Complex Behaviours
โ€“ No one

Game of Life Simulation

Cellular Automaton

It is a collection of colored cells which evolve each time from the previous state defined by a set of predefined rules. These rules are defined based up the neighboring cells in the grid.

The Conway's Game of Life is one among the popular cellular automatons.

  • Rules of Game of Life
    • Any live cell with two or three live neighbours survives.
    • Any dead cell with three live neighbours becomes a live cell.
    • All other live cells die in the next generation. Similarly, all other dead cells stay dead.

Based of these three very simple rules, complex behaviours evolved.

More importantly Cellular Automaton also depends on the initial state of the grid. Changing the initial state may result in a completely different behaviour.

Want to record a Symphony

Click on the rocket. Yaay !!!!

How To

World Grid

The Initial State of your world can be set in the 2D grid of cells.

Alive or Dead

A Cell may be dead or alive, the states can be toggled by clicking a particular cell. The grid is fully dynamic, So you can expand your horizons into the unknown.

Rule / RuleList

Rule Details

The State of the current cell and their neighbors are selected in the 9x9 Grid, by default both the position and the state of the neighbors are matched against each cell in the world grid and then replaced by the state for the next generation.

There is also a way to match the number of neighbors alive, instead of their positions with some relational operators to enhance the use of the rule.

Count Mode

After the Count Mode is enabled, only the number of alive neighbors are going to be compared not their realtive position with the current cell. You can chose between the following relations < | > | <= | >= | = by toggling the appropriate symbol or symbols to compare each cell in the world with the rule.

Priority is given to the top most rule if at all there are any clash with two or more rules.

Well Finally you are the god, Or is it ?

Sudoku Solver

This intriguing part of the world would set an example how efficient and fundamental Automata theory is applied for. It has a blank state of 9x9 grid. One can increment the value of block by one on left-click and decrement the value on right-click. (No worries, you wont be startled by the context menu ๐Ÿ˜„). And then all you to press is the PLAY button, to fetch your solution.

Glad to show you our work !

ultimate-cellular-automaton's People

Stargazers

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