Skip to content
← Back to Community
CellSim — A cellular automata simulator (Including Conway's Game of Life!)
Profile icon
fuzzyastrocat

Many people know about the cellular automata Conway's Game of Life. But what few people realize is that the Game of Life is only one of a myriad of possible rule sets, each with unique behavior and incredible patterns, spaceships, and more.

conway gif

I created CellSim to allow for unbounded exploration of the Cellular Automata world. It simulates any totalistic rule (in both the Moore or Von Neumann neighborhood) and most non-totalistic rules.

Now, if all this sounds like alien speak to you, I still encourage you to check it out! At the very least, you can play around with some of the built-in patterns I've included that I think are cool. Additionally, there is an Info page which can tell you a little more about Cellular Automata, and a Controls page which can tell you how to use the program.

This file cannot be displayed: https://lh3.googleusercontent.com/C6HkzTZOrAtlLPkY6tHcUQMX1BoahTG_Gt4ueO_G0dV-J6dqSbT7ElD6Ddg_vg2cNI1D9cIBQMUNaPWIkPrqGVpbE9RY_9Q3Fn0k=s850

The program can run a pattern of any size — it uses a modular cell-based calculation approach that can dynamically grow the field to simulate any possible pattern (though it will get rather slow if you do huge patterns).

Additionally, here are some of the basic controls:

  • Move the field of view with the arrow keys
  • Scroll to change the zoom
  • ENTER will toggle edit/run mode, where you can edit/create a pattern and then play it
  • You can export patterns using the e key — just hit e, click the upper-left of the area you want to export, move your mouse to the lower right of the area you want to export (the area you're selecting will display in blue) and then click to export it! The .rle will show up in the box in the sidebar, copy-and-paste it into a text file for storage. (You can then copy-and-paste it back into the program later and click "Parse .rle" to load it.)
  • You can edit the rule by clicking on either the B or S sections in the sidebar and typing in the numbers there.
  • You can make a random pattern by clicking the R key.
  • In the pattern selector, use the LEFT and RIGHT arrows to switch between different rules.

I hope you enjoy! If you have any questions, feel free to put them here!

Voters
Profile icon
SelenaYang1
Profile icon
Brendan23
Profile icon
sharpoen
Profile icon
JasonLiu19
Profile icon
MatthewDoan3
Profile icon
programmeruser
Profile icon
SwaroopBappanad
Profile icon
GeumjuKim
Profile icon
dabs364
Profile icon
DJWang
Comments
hotnewtop
Profile icon
[deleted]

i messed around with this so much it crashed! XD

Profile icon
fuzzyastrocat

@bowmand117 In what way did it crash?

Profile icon
SwaroopBappanad

This is really cool. Great Job, 15/10!

Profile icon
fuzzyastrocat

@SwaroopBappanad Thank you!

Profile icon
DJWang

Amazing!

Profile icon
fuzzyastrocat

@DJWang Thank you! (I'm a bit sad this project didn't get much attention, but oh well)

Profile icon
DJWang

@fuzzyastrocat That is because only smart people who understand these kind of things like them (and there aren't too many smart people)

Profile icon
fuzzyastrocat

@DJWang Yep, sadly

Profile icon
DJWang

@fuzzyastrocat But I enjoyed it :)

Profile icon
fuzzyastrocat
Profile icon
potatojs

very cool!

Profile icon
fuzzyastrocat

@potatojs Thanks!

Profile icon
Coder100

why do you scroll up to zoom out smh

Profile icon
fuzzyastrocat

@Coder100 I'm not sure, I suppose I was thinking Natural Scrolling? I'll change that right now.

Profile icon
Coder100
Profile icon
Barry123

The starting screen is kind of like space invaders lol

Profile icon
fuzzyastrocat

@Barry123 Ha! Yeah I can definitely see the comparison there

Profile icon
Kookiez
  1. it sounds like alien to me
  2. this is awesome! :)
Profile icon
fuzzyastrocat

@OrangeJooce123 Ha, I hope it sounds less alien-y soon!
(And thanks, this definitely took a while to make!)