GithubHelp home page GithubHelp logo

bilva-sanaba / compsci308.cell_society Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.08 MB

A 2D JavaFX Cellular Automata for various simulation types. My first team project.

License: MIT License

Java 99.70% CSS 0.30%

compsci308.cell_society's Introduction

Cell Society (Cellular Automata)

Mike Liu, Bilva Sanaba, Justin Yang
Jan 26 - Feb 12, 2017

Get Started

Program is run through the main class, and no other classes contain main.

Testing

XML configuration files used to load simulations are stored in the data package.

Resource Files

Resource files for GUI Text and CSS are included in the resource package. XML configuration files are stored in the data package.

Using the Program

  • After the program starts, press load and pick an XML file to load a simulation. Load can also be pressed at any time to change simulation.
  • Cell configuration in XML can be one of three types: specific locations, number of cells by type and probability by type
  • Press play to start the simulation, pause to pause, and move the slider to change the animation speed.
  • Pressing step will pause the simulation if it is running, and step through the simulation one cycle per click.
  • Either while playing or while paused, press step to update the simulation one frame per click.
  • Press options for a screen to popup to change various parameters for the current simulation.
  • Press save to save the current simulation configuration to an XML file.
  • Press +/- to zoom in/out of the simulation.
  • Click on a cell to change its state
  • If grid is larger than the display region, scroll to navigate the whole grid.
  • Cell shape, grid type, and neighbor pattern can all be changed dynamically with the choice boxes at the bottom right.

Features

Allow user to dynamically change cell shape, grid type and neighbor pattern during the simulation

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.