GithubHelp home page GithubHelp logo

calab-example's Introduction

Using CALab with your own Cellular Automata

This repository shows how to setup a class of cellular automata not currently included in CALab. CALab was actually started for the purpose of making it easy to explore new classes of cellular automata in a convenient way, which is why it only has a couple of CA classes included. This repo adds support for Cyclic CA's to give you an example as to how to setup your own CA engine coded in Scala. And for those more familiar with Java, there's also an example coded in Java which adds support for the "Vote" class of CA's, the most interesting being the "Fredkin Replicator" CA. Actually, CALab was made "Java friendly" so that it would be easy to code a CA engine in Java.

Using this Repository to Run CCA's or Vote CA's

The easiest way to use this repository is to use the Simple Build Tool (SBT), and Git of course. We will assume that you're setup to use Git and SBT. Start by cloning the repo.

git clone https://github.com/edadma/calab-example.git

Then go in to the newly created directory and start SBT.

cd calab-example
sbt

Now you can run CALab and have it load the CCA engine provided by this repo with the command

run -e ca.hyperreal.calabexample.CyclicCA

SBT will cause the source files in this repo to be compiled, download CALab and then ensure that CALab will be able to find CyclicCA to load it, and then run CALab with CyclicCA loaded.

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.