{"id":63,"date":"2011-11-02T09:26:54","date_gmt":"2011-11-02T09:26:54","guid":{"rendered":"http:\/\/www.silverclaw.net\/?page_id=63"},"modified":"2011-11-23T10:36:38","modified_gmt":"2011-11-23T10:36:38","slug":"modes","status":"publish","type":"page","link":"http:\/\/www.silverclaw.net\/?page_id=63","title":{"rendered":"Modes"},"content":{"rendered":"<h1>The Different Modes of Life<\/h1>\n<h3>Standard<\/h3>\n<p><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-97\" title=\"standard\" src=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/standard-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/standard-150x150.png 150w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/standard-300x300.png 300w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/standard.png 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>The Standard mode was my &#8220;first attempt&#8221; at simulating cellular automata. As a consequence it isn&#8217;t as well optimized as the other modes. It works in the same way as most other cellular automata simulations and doesn&#8217;t do anything very interesting.<\/p>\n<p>This mode is still useful when you want to see what is &#8220;really happening&#8221; behind some of the other modes.<\/p>\n<h3>Dual<\/h3>\n<p><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-98\" title=\"dual\" src=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/dual-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/dual-150x150.png 150w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/dual-300x297.png 300w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/dual.png 508w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>This was an experiment to see whether it was possible simulate two cellular automaton patterns on the same grid and to see how they would react to one another.<\/p>\n<p>Most of the combinations of patterns don&#8217;t have interesting results &#8211; either one pattern destroys the other or they reach each other and remain deadlocked. However, there are some combinations that result in an interesting &#8216;symbiotic&#8217; relationship where the two patterns are able to coexist (see <a title=\"Things to try\" href=\"http:\/\/www.silverclaw.net\/?page_id=66\">things to try<\/a>).<\/p>\n<h3>Colours<\/h3>\n<p><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-99\" title=\"colours\" src=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours-150x150.png 150w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours-300x300.png 300w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours.png 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>This was an attempt to make prettier patterns using Life. Instead of simply setting the grid cell on or off, the Colours mode instead adds its colour to the value of the cell.<\/p>\n<p>This isn&#8217;t mathematically interesting, but it does produce much prettier patterns than the other modes.<\/p>\n<h3>colours 2<\/h3>\n<p><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-100\" title=\"colours2\" src=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours2-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours2-150x150.png 150w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours2-300x300.png 300w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/11\/colours2.png 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>The original Colours mode will reset the cell&#8217;s colour values to zero when it reaches 255, which can be a little jarring.<\/p>\n<p>Colours 2 will instead &#8216;reverse&#8217; the direction of the cellular automaton so that it deducts from the colour value until it reaches zero again. This results in smoother patterns.<\/p>\n<h3>Alternator<\/h3>\n<p><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-27\" title=\"life-small\" src=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/08\/life-small-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/08\/life-small-150x150.jpg 150w, http:\/\/www.silverclaw.net\/wp-content\/uploads\/2011\/08\/life-small.jpg 250w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>The Alternator mode makes things even more interesting by allowing two patterns to run alternately. This means that the first pattern will run on step 1, then the second pattern, then the first again, etc.<\/p>\n<p>By allowing two patterns to run in tandem like this, even more complex behaviour can be observed. This feature appears to be unique to Life.<\/p>\n<p>Alternator also attempts to make the display more interesting and informative by showing the cells that &#8216;died&#8217; on the previous iteration in different colours.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Different Modes of Life Standard The Standard mode was my &#8220;first attempt&#8221; at simulating cellular automata. As a consequence it isn&#8217;t as well optimized as the other modes. It works in the same way as most other cellular automata &hellip; <a href=\"http:\/\/www.silverclaw.net\/?page_id=63\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":32,"menu_order":0,"comment_status":"open","ping_status":"open","template":"full-width-page.php","meta":[],"_links":{"self":[{"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/pages\/63"}],"collection":[{"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63"}],"version-history":[{"count":6,"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/pages\/63\/revisions"}],"predecessor-version":[{"id":112,"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/pages\/63\/revisions\/112"}],"up":[{"embeddable":true,"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=\/wp\/v2\/pages\/32"}],"wp:attachment":[{"href":"http:\/\/www.silverclaw.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}