A keeper is a type of factory circuit that always results in the presence of an object in the output location, whether or not the object was previously present. In many cases it is easy to construct examples by connecting multiple circuits to shoot down an object with a glider, then rebuild the object again later.

The smallest keeper circuits accomplish the same thing more directly with a lucky preliminary spark from the active reaction, which removes the existing object (if any) just before the construction occurs. Below is a useful edgy block keeper with a Herschel input. The block at the right edge is removed if it is present, then later constructed/reconstructed in exactly the same location.

<html><div class="rle"><div class="codebox"><div style="display:none;"><code></html>x = 40, y = 31, rule = B3/S23 17b2o$17b2o7$25b2o$24bobo$25bo3$2o$bo$bobo$2b2o7$2bo35b2o$2bobo33b2o$ 2b3o$4bo3$19b2o$19b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 2 WIDTH 540 HEIGHT 480 Y 2 THEME 6 GPS 20 LOOP 420 ZOOM 10 AUTOSTART PAUSE 2 ]]<html></code></div></div><canvas width="200" height="300" style="margin-left:1px;"><noscript></html>
Please enable Javascript to view this LifeViewer.
(click above to open LifeViewer)
RLE: here Plaintext: here
This article is issued from Conwaylife. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.