LifeWiki:LifeViewer cheatsheet for LifeWiki articles
| This article is a stub. You can help LifeWiki by expanding it. |
| This page is under construction. Sorry for the inconvenience. |
This page aims to be an incomplete collection of example LifeViewer configuration scripts which can be used on LifeWiki for different kinds of patterns.
This is not an authoritative list. There may be LifeViewer configurations that are not listed here but are frequently used.
This page assumes that the viewer is shown outside the infobox.
- Links
- {{EmbedViewer}}, {{LV:Viewer}} -- how to embed a LifeViewer applet in a page
- LifeViewer/Scripts -- for script instructions
- Pattern viewer for forum threads (discussion thread) at the ConwayLife.com forums
- LifeWiki:Pattern pages -- for help on infobox templates for pattern pages. (See also this thread for infobox-related questions.)
Overview
| This article is a stub. You can help LifeWiki by expanding it. |
Small patterns without animation
One viewer
- viewerconfig
- #C [[ THUMBSIZE 3 ZOOM 42 HEIGHT 600 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Herschel (click above to open LifeViewer) |
- rle
x = 3, y = 4, rule = B3/S23 o$3o$obo$2bo!
Multiple viewers (galleryContainer+galleryItem)
| Herschel parent (click above to open LifeViewer) |
| Herschel grandparent (click above to open LifeViewer) |
| Herschel great-grandparent (click above to open LifeViewer) |
| B-heptomino (click above to open LifeViewer) |
| B-heptaplet (click above to open LifeViewer) |
Explanation
This example is formatted in the following way,
<div class="galleryContainer"> <div class="galleryItem">viewer</div> <div class="galleryItem">viewer</div> <div class="galleryItem">viewer</div> <div class="galleryItem">viewer</div> <div class="galleryItem">viewer</div> </div>
where each occurrence of "viewer" is replaced by an invocation of the {{EmbedViewer}} template. Viewers in this example are formatted as follows:
{{EmbedViewer
|rle = (paste RLE here)
|viewerconfig = #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
|position = center
|caption = (displayed caption)
|style = width:100px;
}}
Note that if a caption does not fit on a single line, the vertical size of the box containing the viewer increases. When possible, it's better to keep captions in galleries short, and put more detailed explanations / descriptions of the patterns in the surrounding text.
Multiple viewers (THUMBSIZE 4 ZOOM 40 HEIGHT 500, three columns)
|
|
| ||||||
|
|
Explanation
This example is formatted as a table,
{|style="margin:auto;width:300px;"
| viewer
| viewer
| viewer
|-
| viewer
| viewer
|}
where each occurrence of "viewer" is replaced by an invocation of the {{EmbedViewer}} template. Viewers in this example are formatted as follows:
{{EmbedViewer
|rle = (paste RLE here)
|viewerconfig = #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
|position = center
|caption = (displayed caption)
}}
Note that if a caption does not fit on a single line, the vertical size of the box containing the viewer increases. When possible, it's better to keep captions in galleries short, and put more detailed explanations / descriptions of the patterns in the surrounding text.
Multiple viewers (THUMBSIZE 3 ZOOM 30 HEIGHT 500, two columns)
|
| ||||
|
|
Oscillators
No reaction envelope
- viewerconfig
- #C [[ THUMBSIZE 3 ZOOM 39 HEIGHT 500 GPS 2 AUTOSTART ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Fumarole (click above to open LifeViewer) |
- rle
x = 8, y = 7, rule = B3/S23 3b2o$bo4bo$bo4bo$bo4bo$2bo2bo$obo2bobo$2o4b2o!
With reaction envelope
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 HEIGHT 500 GPS 11 THEME Book AUTOSTART ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| David Hilbert (click above to open LifeViewer) Catagolue: here |
- rle
x = 33, y = 26, rule = B3/S23 7b2o15b2o$8bo15bo$6bo19bo$6b5o11b5o$10bo11bo$4b4o17b4o$4bo2bo17bo2bo$ 21bo$21bo$9bo4b2ob2o2bob2o$8b3o3b2obo6b2o$7bo2b2o6bo$7b3o12bo$22bobo$ 3b2o11b2o4bo2bo2b2o$3bo12b2o5b2o4bo$2obo12b2o11bob2o$ob2ob2o19b2ob2ob o$5bo21bo$5bobo17bobo$6b2o17b2o$10bo11bo$6b5o11b5o$6bo19bo$8bo15bo$7b 2o15b2o!
With reaction envelope, stopped after one period
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 12 HEIGHT 600 THEME Book STARTFROM 192 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| CL48C loop (period 192), found by Luke Kiernan on June 7, 2022 (click above to open LifeViewer) Catagolue: here |
- rle
x = 40, y = 40, rule = B3/S23 22bo$21bobo$21bobo$12bo7b2ob3o$12b3o11bo$9bo5bo4b2ob3o4bo$8bobo3b2o4b 2obo5bobo$8bobo18bobo$6b3ob2o16b2ob3o$5bo28bo$6b3ob2o16b2ob3o$8bob2o16b 2obo$35b2o$4bo30bo$3bobo27bobo$3bobo27b2o$b3ob2o$o$b3ob2o6b2o$3bob2o5b o2bo$12bo2bo17b2obo$12bo3bo16b2ob3o$13bo2bo22bo$14b2o17b2ob3o$5b2o27b obo$4bobo27bobo$4bo30bo$3b2o$8bob2o16b2obo$6b3ob2o16b2ob3o$5bo28bo$6b 3ob2o16b2ob3o$8bobo18bobo$8bobo5bob2o4b2o3bobo$9bo4b3ob2o4bo5bo$13bo11b 3o$14b3ob2o7bo$16bobo$16bobo$17bo!
Spaceships
No reaction envelope, TRACKLOOP
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 10 HEIGHT 640 WIDTH 640 GPS 10 GRID OFF AUTOSTART TRACKLOOP 96 1/12 1/12 ]]
- result
- (using {{EmbedViewer}} with pname = 2enginecordership)
| 2-engine Cordership (click above to open LifeViewer) RLE: here Plaintext: here |
With reaction envelope (pause, run, pause, restart)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 16 WIDTH 800 X 14 GPS 15 THEME Book AUTOSTART T 0 PAUSE 1 T 270 PAUSE 2 LOOP 271 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Copperhead (click above to open LifeViewer) |
- rle
x = 12, y = 8, rule = B3/S23 5bob2o$4bo6bo$3b2o3bo2bo$2obo5b2o$2obo5b2o$3b2o3bo2bo$4bo6bo$5bob2o!
With reaction envelope (torus)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 8 HEIGHT 400 WIDTH 800 GPS 15 THEME Book AUTOSTART ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| 282P6H2V1 in a toroidal universe (click above to open LifeViewer) |
- rle
x = 90, y = 45, rule = B3/S23:T90,45 7$76bo$75bo2bo$73bo3bob2o$73bo3bo2bo$77bobo2b3o$75bobobo4bo$74bo3bo2bo $74bo6bobo$74bo6b2o2$54bo11b4obo4b2ob2o$53bobo4b2obob2o2b3ob2ob2ob2o$ 58b2o6bobobo3bo4b2o$51b2o2b2obo6bobo4bo5b3o$52bob3obo5bo5bo7bo$51b2o2b 2o3bo3b2ob4obobo2b2o$28bo22b3o3bo10bobob2o$26bo24bob3obo6bo2bo$26bo3b 3o8bo9b2o3bo2bo3bo5b3o$26bo5b3o5bob2obo4bo2bo5bo3b4o$27bobob2ob2o3b2o 3b2o2b2o3bo5bo3bo$18bobo6b2o2bo2bob2obo5bob2o4bo5bobo$13b2o2bo2b2o5b2o 2b2obobob2o4bo2bo11b2o$12b3o2bo2b2o5b2o2b2obo3b2o2b2o3bobob2o$7bo3b4ob ob2o3bob2obo2b3o2bo3bobo4bobob2o$7bob3o5b3o2bo4bo13bo4b2o$6bo3bo4b2obo 3bo2bobo11bo4bobo$11bo3bo6b2o14bo2bobo$11b2o4b3o3b2o15b2o2b2o$12b3obo 3bo18b3o$12bo3bob2o!
Puffers
No reaction envelope (TRACKLOOP)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 10 HEIGHT 400 WIDTH 720 X 12 GPS 15 AUTOSTART TRACKLOOP 128 1/2 0/2 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Puffer 1 (click above to open LifeViewer) |
- rle
x = 77, y = 29, rule = B3/S23 72b2o$70bo4bo$76bo$70bo5bo$71b6o$3o3$69b2o$68bobo3bo$33bo33b2ob2o2b2o$ 14b2o17bo34bobo2bob2o$14bo2bo15bo35bo3bobo$15b3o55b2o2$15b3o55b2o$14bo 2bo15bo35bo3bobo$14b2o17bo34bobo2bob2o$33bo33b2ob2o2b2o$68bobo3bo$69b 2o3$3o$71b6o$70bo5bo$76bo$70bo4bo$72b2o!
No reaction envelope (pause, run, pause, restart)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 6 WIDTH 950 X 63 GPS 20 AUTOSTART T 0 PAUSE 2 T 256 PAUSE 3 LOOP 257 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Puffer 1 (click above to open LifeViewer) |
- rle
x = 10, y = 29, rule = B3/S23 5b2o$3bo4bo$9bo$3bo5bo$4b6o4$2b2o$bobo3bo$2ob2o2b2o$bobo2bob2o$2bo3bob o$6b2o2$6b2o$2bo3bobo$bobo2bob2o$2ob2o2b2o$bobo3bo$2b2o4$4b6o$3bo5bo$ 9bo$3bo4bo$5b2o!
With reaction envelope (pause, run, pause, restart)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 6 WIDTH 950 X 63 GPS 20 THEME Book AUTOSTART T 0 PAUSE 2 T 256 PAUSE 3 LOOP 257 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Puffer 1 (click above to open LifeViewer) |
- rle
x = 10, y = 29, rule = B3/S23 5b2o$3bo4bo$9bo$3bo5bo$4b6o4$2b2o$bobo3bo$2ob2o2b2o$bobo2bob2o$2bo3bob o$6b2o2$6b2o$2bo3bobo$bobo2bob2o$2ob2o2b2o$bobo3bo$2b2o4$4b6o$3bo5bo$ 9bo$3bo4bo$5b2o!
Rakes
No reaction envelope, TRACKLOOP
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 HEIGHT 450 WIDTH 800 GPS 6 AUTOSTART TRACKLOOP 12 1/2 0/2 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Backrake 2 (click above to open LifeViewer) |
- rle
x = 43, y = 19, rule = B3/S23 34b5o$33bo4bo$19b2o17bo$17b2ob2o11bo3bo$17b4o14bo$18b2o10bo$18bo10b3o 6bo$17b3o7b2o3bo5b2o$16b2ob2o6b5o5bob2o$15b3obo6bo2bo7bobo$16bobobo6b 2o8b2o$17bo9b2o$19b2o$9bobo17bo2bo$9b2o8bo13bo6b2o$10bo6bo3bo7bo3bo4b 2ob2o$obo19bo7b4o4b4o$2o15bo4bo16b2o$bo16b5o!
With reaction envelope (pause, run, pause, restart)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 10 HEIGHT 400 WIDTH 800 X 20 Y 4 GPS 9 THEME Book AUTOSTART T 0 PAUSE 2 T 84 PAUSE 3 LOOP 85 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Backrake 2 (click above to open LifeViewer) |
- rle
x = 26, y = 19, rule = B3/S23 17b5o$16bo4bo$2b2o17bo$2ob2o15bo$4o$b2o$21bo$21b2o$20bob2o$20bobo$20b 2o3$15bo$16bo6b2o$4bo7bo3bo4b2ob2o$5bo7b4o4b4o$o4bo16b2o$b5o!
With reaction envelope (stopped after several periods)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 10 HEIGHT 400 WIDTH 800 X 20 Y 4 THEME Book STARTFROM 84 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Backrake 2 (click above to open LifeViewer) |
- rle
x = 26, y = 19, rule = B3/S23 17b5o$16bo4bo$2b2o17bo$2ob2o15bo$4o$b2o$21bo$21b2o$20bob2o$20bobo$20b 2o3$15bo$16bo6b2o$4bo7bo3bo4b2ob2o$5bo7b4o4b4o$o4bo16b2o$b5o!
Guns
No reaction envelope, LOOP
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 HEIGHT 400 GPS 15 AUTOSTART LOOP 43 ]]
- result
- (using {{EmbedViewer}} with pname = period43glidergun)
| period-43 glider gun (click above to open LifeViewer) RLE: here Plaintext: here |
No reaction envelope, KILLGLIDERS
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 HEIGHT 500 GPS 15 AUTOSTART KILLGLIDERS ]]
- result
- (using {{EmbedViewer}} with pname = period43glidergun)
| period-43 glider gun (click above to open LifeViewer) RLE: here Plaintext: here |
With reaction envelope, KILLGLIDERS
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 HEIGHT 500 GPS 15 THEME Book AUTOSTART KILLGLIDERS ]]
- result
- (using {{EmbedViewer}} with pname = period43glidergun)
| period-43 glider gun (click above to open LifeViewer) RLE: here Plaintext: here |
With reaction envelope, stopped after one period
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 HEIGHT 500 THEME Book STARTFROM 43 ]]
- result
- (using {{EmbedViewer}} with pname = period43glidergun)
| period-43 glider gun (click above to open LifeViewer) RLE: here Plaintext: here |
Conduits, converters, reflectors
No animation, no reaction envelope, ghost outputs
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Conduit 1 with ghost Herschel marking the output location (click above to open LifeViewer) |
- rle
x = 24, y = 13, rule = B3/S23 b2o$2bo$bo$b2o6$o3b2o15bo$2o2b2o15bo$b2o18b3o$2o21bo!
Animated with reaction envelope (pause, run, pause, restart)
- viewerconfig
- #C [[ THUMBSIZE 2 ZOOM 14 Y 2 THEME Book GPS 8 AUTOSTART T 0 PAUSE 2 T 59 PAUSE 2 LOOP 60 ]]
- result
- (using {{EmbedViewer}} with rle = (shown below))
| Conduit 1 (click above to open LifeViewer) |
- rle
x = 24, y = 13, rule = B3/S23 b2o$2bo$bo$b2o6$o3b2o15bo$2o2b2o15bo$b2o18b3o$2o21bo!