cleanup
This commit is contained in:
parent
f82b3e862f
commit
098c944abf
3 changed files with 31 additions and 28 deletions
|
@ -24,12 +24,12 @@ The engine randomly finds places where the one of your rules' <em>input (left)</
|
|||
<h2 id="groups">groups</h2>
|
||||
<p>
|
||||
A rule can also have cells containing a <em>group</em>. On the input side, that cell will match anything in the group, and on the output side it will become a random cell from the group. A diagonal line through the group icon means that it can also match on positions outside the world, where there are no cells.<br>
|
||||
<img loading="lazy" src="/media/snad/group_example.png" alt="" title=""></img>
|
||||
<img loading="lazy" src="/media/snad/group_example.png" alt="" title="">
|
||||
</p>
|
||||
<h2 id="copy-cells">copy cells</h2>
|
||||
<p>
|
||||
On the output side, a cell can be set to <em>copy</em> the contents of one cell from the input side, this is useful for applying the same rule to several cell types without randomly swapping between them on the output<br>
|
||||
<img loading="lazy" src="/media/snad/copy_example.png" alt="" title=""></img>
|
||||
<img loading="lazy" src="/media/snad/copy_example.png" alt="" title="">
|
||||
</p>
|
||||
<h1 id="random-is-easy-right">random is easy, right?</h1>
|
||||
<p>
|
||||
|
@ -86,12 +86,12 @@ I was stuck on this problem for quite a while, and it only happened with the new
|
|||
</p>
|
||||
<p>
|
||||
The movement rule has these variants:<br>
|
||||
<img loading="lazy" src="/media/snad/bee_rules_rotated.png" alt="" title=""></img>
|
||||
<img loading="lazy" src="/media/snad/bee_rules_rotated.png" alt="" title="">
|
||||
</p>
|
||||
<p>
|
||||
Each rule has its origin point in the top-left cell.<br>
|
||||
In the diagram below, the bee would move left when the left (purple) cell is picked by the engine, and up when the top (green) cell is picked.<br>
|
||||
<img loading="lazy" src="/media/snad/bee_movement_pattern.png" alt="" title=""></img>
|
||||
<img loading="lazy" src="/media/snad/bee_movement_pattern.png" alt="" title="">
|
||||
</p>
|
||||
<p>
|
||||
But to move right or down, it needs the bees own position to be picked by the engine, since the rules always extend right-down. That means when the engine picks the bee's position, there are <em>two</em> possible rules to execute. Therefore, moving right and down both have half the probability overall compared to moving up or left.<br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue