← Return to tool
Log in with itch.io to leave a comment.
code:
<sequence values = "BW" origin="True">
<one in="BWB" out="WWW" steps="1"/>
<convolution neighborhood="Moore" periodic="True">
<rule in ="B" out="W" sum="2" values="W"/>
<rule in="W" out="B" sum="2,4" values="B"/>
</convolution>
</sequence>
Generates something that kind of looks like a city blockcould be cleaner, gonna tweak the codecode:
<sequence values="BWACR">
<prl in="B" out = "A"/>
<prl in="A *" out = "B *" symmetry = "()"/>
<one in = "A" out = "W" steps="1"/>
<markov>
<prl in ="AAA/AWA" out="AWA/AWA"/>
<one in= "AWA/AWA/AWA/AWA/AWA/AWA/AWA" out="AWA/AWA/AWA/WWW/AWA/AWA/AWA"/>
</markov>
<one in="A" out = "C" steps="1"/>
<all in ="AC" out = "CC"/>
<prl in = "B C" out = "C C" symmetry="()" p="0.16"/>
<prl in = "C" out = "R" symmetry="()"/>
<all in="RR BR" out ="RR RR"/>
<prl in="R" out = "W"/>
<sequence values="BW" origin = "True">
<prl in="BWB" out = "WBW"/>
← Return to tool
Comments
Log in with itch.io to leave a comment.
code:
<sequence values = "BW" origin="True">
<one in="BWB" out="WWW" steps="1"/>
<convolution neighborhood="Moore" periodic="True">
<rule in ="B" out="W" sum="2" values="W"/>
<rule in="W" out="B" sum="2,4" values="B"/>
</convolution>
</sequence>
Generates something that kind of looks like a city block
could be cleaner, gonna tweak the code
code:
<sequence values="BWACR">
<prl in="B" out = "A"/>
<prl in="A *" out = "B *" symmetry = "()"/>
<one in = "A" out = "W" steps="1"/>
<markov>
<prl in ="AAA/AWA" out="AWA/AWA"/>
<one in= "AWA/AWA/AWA/AWA/AWA/AWA/AWA" out="AWA/AWA/AWA/WWW/AWA/AWA/AWA"/>
</markov>
<markov>
<one in="A" out = "C" steps="1"/>
<all in ="AC" out = "CC"/>
<prl in = "B C" out = "C C" symmetry="()" p="0.16"/>
<prl in = "C" out = "R" symmetry="()"/>
</markov>
<all in="RR BR" out ="RR RR"/>
<prl in="R" out = "W"/>
</sequence>