Skip to content

Releases: AdamUllmann/Cellular-Automata-Online

Initial Release (1.0.0)

Choose a tag to compare

@AdamUllmann AdamUllmann released this 09 Nov 20:29
7b2f92f

Click Here to Play!

An interactive Cellular Automata simulation built using Javascript, CSS, and HTML. Allows the user to experiment with rule combinations in real-time.

Also check out my desktop version written in C++ (it's faster and better): https://github.com/AdamUllmann/Game-of-Life-plus-plus

Features

  • Responsive Design: The canvas automatically adjusts to the window size.
  • Interactive Drawing: Users can interactively draw on the canvas to set the initial state of the grid.
  • Customizable Rules: The rules for cell survival and birth can be customized through the UI.
  • Dynamic Speed Control: The speed of the simulation can be adjusted in real-time using a slider.
  • Start/Pause with Spacebar: Users can start or pause the simulation using the spacebar.

Getting Started

  1. Clone the repository:

    git clone https://github.com/AdamUllmann/Cellular-Automata-Online
  2. Open index.html in your browser.

  3. Controls:

    • Draw: Click and drag on the canvas to draw or erase cells.
    • Start/Pause: Click the "Start" button or use the spacebar to toggle the simulation.
    • Clear: Click the "Clear" button to clear the grid.
    • Randomize: Click the "Randomize" button to set a random initial state.

Customization

  • Rules: Click the "Rules" button to customize the survival and birth rules for the cells.

Technologies Used

  • HTML5
  • JavaScript
  • CSS

License

This project is licensed under the MIT License - see the LICENSE file for details.