A Javascript Cellular Automata Viewer

For scripts to aid with computation or simulation in cellular automata.
Post Reply
User avatar
silversmith
Posts: 203
Joined: June 15th, 2020, 6:20 pm
Contact:

A Javascript Cellular Automata Viewer

Post by silversmith » July 27th, 2020, 10:23 am

I made a cellular automata viewer which is designed to be accessible and easy to use, mainly in cases where downloading proper software is not an option. It is not particularly powerful or versatile. It does support several formats, although I don't want to explain too much here with the goal of making the website self explanatory.

I am in the process of commenting my code to make it publicly available in the near future(though you could inspect the website itself or I can provide a raw version if requested). I would appreciate any suggestions and bug reports, and requests for features will be considered.
https://silversimulations.com/arise
Last edited by silversmith on April 28th, 2022, 11:14 am, edited 3 times in total.
A simulator with the tools I couldn’t find elsewhere: https://www.silversimulations.com/arise/

User avatar
yujh
Posts: 2861
Joined: February 27th, 2020, 11:23 pm
Location: I'm not sure where I am, so please tell me if you know
Contact:

Re: A Javascript Cellular Automata Viewer

Post by yujh » July 28th, 2020, 5:42 am

Umm...
It can’t detect gliders when searching


Probably it also stop after 2000 gens?
Nothing to apgsearch? Try b38s23/C1!

B34kz5e7c8/S23-a4ityz5k!!!

b2n3-q5y6cn7s23-k4c8

B3-kq6cn8/S2-i3-a4ciyz8

B3-kq4z5e7c8/S2-ci3-a4ciq5ek6eik7

Rule modifier

If you need someone to apgsearch, or if you want to search for an explosive rule, contact me on discord!

Bored of Conway's Game of Life? Try Pedestrian Life -- not pedestrian at all!

User avatar
silversmith
Posts: 203
Joined: June 15th, 2020, 6:20 pm
Contact:

Re: A Javascript Cellular Automata Viewer

Post by silversmith » July 28th, 2020, 9:51 am

Yeah the "search" is quite basic. I have not yet implemented a spaceship catching mechanism, so most rules need to be run in a toroidal universe when searching. The search also does not log any results, just resets when the entire grid becomes periodic with one of the periods provided.

The 2000 generation stop is a memory problem that I am currently working on.

Edit Dec 24, 2021:
The site is now at http://www.silversimulations.com/CAsim(depreciated)
A simulator with the tools I couldn’t find elsewhere: https://www.silversimulations.com/arise/

User avatar
silversmith
Posts: 203
Joined: June 15th, 2020, 6:20 pm
Contact:

Re: A Javascript Cellular Automata Viewer

Post by silversmith » April 1st, 2022, 10:46 pm

I have finished remaking the core elements of this simulator with a new, much faster algorithm.
Supports:
-cut, copy, paste
-RLE export and import
-INT Generations rulespace
Planned:
-Pattern position enumeration
-More symmetries
https://silversimulations.com/arise

Edit April 3: fixed B0 Generations and added anti-strobing option

Edit April 12: Reworked existing automatic search options, and added a few more

Edit April 15: Added the option to automatically save search result RLEs
A simulator with the tools I couldn’t find elsewhere: https://www.silversimulations.com/arise/

User avatar
silversmith
Posts: 203
Joined: June 15th, 2020, 6:20 pm
Contact:

Re: A Javascript Cellular Automata Viewer

Post by silversmith » May 9th, 2022, 9:47 pm

After implementing the ability to export the various simulation options, here is an example automated search, which finds various push, pull, and fire command salvos in the OCA rule B2ein3cijn4cnrwy5cnq6e/S1c2-ai3acny4anqy5c6ek8

https://silversimulations.com/arise/?v= ... progress,0

After the "Start" button is pressed the results will be output to the RLE box at the bottom of the page.
A simulator with the tools I couldn’t find elsewhere: https://www.silversimulations.com/arise/

User avatar
ihatecorderships
Posts: 276
Joined: April 11th, 2021, 12:54 pm
Location: Falls Church, VA

Re: A Javascript Cellular Automata Viewer

Post by ihatecorderships » May 26th, 2022, 8:49 am

Are these the correct options to search for random soups that settle into ash that is not p1, p2, or p4?
EDIT: I noticed that escaping gliders make the simulation always run to gen 2000. Is there a way to make universe toroidal?
-- Kalan Warusa
Notable Discoveries: none as of yet :(

User avatar
silversmith
Posts: 203
Joined: June 15th, 2020, 6:20 pm
Contact:

Re: A Javascript Cellular Automata Viewer

Post by silversmith » May 27th, 2022, 6:23 am

ihatecorderships wrote:
May 26th, 2022, 8:49 am
Are these the correct options to search for random soups that settle into ash that is not p1, p2, or p4?
EDIT: I noticed that escaping gliders make the simulation always run to gen 2000. Is there a way to make universe toroidal?
Yes, those are the correct settings. The gliders cause the simulation run to gen 2000 because it does not yet have the ability to recognize them as being stable. I am considering fixing this by adding the option to detect when the population has stabilized.

Toroidal universes are not currently supported.
A simulator with the tools I couldn’t find elsewhere: https://www.silversimulations.com/arise/

Post Reply