Skip to content

zedeckj/nxtlife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nxtlife: Cellular Automata Rulestring Parser and Simulator

https://nxtlife.vercel.app/

This is an old NextJS project I made after struggling to find an online simulator capable of running the common notations for cellular automata rules that are Life-like, Elementary, Generations based, or BSFKL. This simulator also supports Hensel Notation.

The grammars for the different rule variations are as follows:

<Lifelike> ::= "B" <2d-neighbors> "/S" <2d-neighbors>

<Elementary> ::= "R" <rule-number>

<Generations> ::= <Lifelike> "/G" <DIGIT>

<BSFKL> ::= <Lifelike> "/F" <2d-neighbors> "/K" <2d-neighbors> "/L" <2d-neighbors>

Where <2d-neighbors> is a string of ascending digits bound from 0 to 8,
with the optional inclusion of Hensel notation modifiers. For example:
- 23
- -i34q
- 089
- ci3ai4c8
- 
- 2-c34z 

<rule-number> for <Elementary> type rules is an integer from 0 to 255.

It's not necessary to fully understand the syntax of the various rule-string notations to use this site, clicking the right arrow icon will change the viewer to simulate a random valid rulestring.

About

A tool for simulating cellular automata from different rulestring formats, made in NextJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published