LifeViewer/Known bugs: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
Line 114: Line 114:
}}
}}
|}
|}
== Scripting ==
* For Generations rules, playback will automatically pause if the last pasted pattern consists solely of dying cells.
** Non-scripted pauses should only occur when the pattern initially contained living cells, but then reaches a state of having none.
** If, before running this pattern, we step to T=1 and then play it, a "Life ended at" message will be displayed alongside the pause. This should not happen either as neither the beginning pattern nor the pasted pattern contain any alive cells, so no life existed at any point in time to end.
{{EmbedViewer
|position    = center
|rle          = x = 5, y = 7, rule = //8
2.B$.2B$B.B$2.B$2.B$2.B$5B!
|viewerconfig = #C [[ RLE two .3B$B3.B$4.B$3.B$2.B$.B$5B! PASTET 15 PASTE two 0 0 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
}}


== Rendering ==
== Rendering ==

Revision as of 12:34, 20 March 2023

This page contains a list of issues within LifeViewer which are not considered to be a high enough priority to fix immediately, with test cases where they apply.

Playback

  • When Undo is used such that the state it reverts to predates the pressing of the "reverse playback" button, the playback buttons will not be correctly visually updated until pressed again.
    • For the following pattern, press the "step forward" button twice, then the "reverse playback" button. The "step forward" button will be replaced with the "step back" button as a result, but will still be next to the Play button. Press the "step back" button that has replaced the "step forward" button once, then press the Undo button. After this, pressing either the step back button or step forward button will cause the viewer to step in the opposite of the expected direction, and the playback buttons will flip back to their usual "forward playback" states.
x = 2, y = 2, rule = M0,2,8,3,1,5,6,7,4,9,10,11,12,13,14,15 $bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)
  • The zoom level may suddenly reset when toggling waypoints.
    • Clicking on the thumbnail below and then on the WAYPT button at the top will start running the pattern. Once T reaches 300 or so, click the WAYPT button again: the viewer will instantaneously zoom back in and then have to zoom back out again to accommodate the pattern.
x = 6, y = 7, rule = M0,4,8,3,1,5,6,7,2,9,10,11,12,13,14,15 $2b2o$2b2o4$o4bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ AUTOSTART GRID THEME Book AUTOFIT PAUSE 10000 "Press the WAYPT button above" T 299 "" ]]
(click above to open LifeViewer)

Pattern editing

  • Selections can often appear offset from their actual location when using bounded grids.
    • This generally arises due to the bounding box specified in the RLE (x = width, y = height) differing from the actual bounding box of the pattern encoded by the RLE.
    • This is more than a visual issue, as certain selections cannot be created in certain positions, and cannot be correctly manipulated either.
    • This issue is on the backlog to fix.[1]
x = 12, y = 12, rule = B3/S23:T20 8o$8o$8o$8o$8o$8o$8o$8o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)
  • The Reset button can make changes made to a pattern via selections impossible to undo.
    • For the following pattern, use Select All and perform a random fill. After doing this, deselect the pattern and press the Reset button. The undo button will be locked and cannot be used to revert the pattern to its initial state.
    • This is in contrast to edits made to a pattern via drawing: using the Reset button will not lock the Undo button, and the drawing changes can still be undone.
x = 12, y = 12, rule = B3/S23 o11$11bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)
  • If historical dead trail cells are drawn over and the Undo button is then used to revert this change, said trail cells will remain absent (in [R]Standard) or will have the maximal age level (for [R]History).
    • The status of this as an actual bug is unclear as it's impossible to draw using the different age levels of dead cells in [R]History and impossible to draw with trail states at all in [R]Standard, and these trails have no effect on the pattern other than visuals. However, it'd be expected that the Undo would revert the pattern to its exact state before changes were made, and these cells differing after using Undo is a deviation from said expectation.
[R]Standard [R]History
x = 11, y = 11, rule = B3/S23 2bo2bo2bo$2bo2bo2bo$11o$2b7o$2b7o$11o$2b7o$2b7o$11o$2bo2bo2bo$2bo2bo2b o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ STEP 10 AUTOSTART PASTET 10 PASTE b! -10 -10 STOP 10 THEME Book THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
x = 11, y = 11, rule = B3/S23History 2bo2bo2bo$2bo2bo2bo$11o$2b7o$2b7o$11o$2b7o$2b7o$11o$2bo2bo2bo$2bo2bo2b o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ STEP 10 AUTOSTART PASTET 10 PASTE b! -10 -10 STOP 10 THEME Book THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
  • When running a pattern in [R]History or [R]Super which contains no alive cells, modifications to said pattern while the pattern is running which do not introduce any alive cells will result in a "Life ended at" message being displayed, despite there never being any alive cells in the pattern at any time.
    • The "Life ended at" message should only be displayed when a pattern previously contained alive cells, but no longer does.
    • For the following pattern (which starts instantly), we can open the Draw menu and then draw on it as it plays with states 0, 2, 4 or 6. Editing the patterns via selections works as well, e.g, selecting some of the marked states and clearing them.
x = 20, y = 7, rule = LifeHistory 3D$D2.D$D2.D.D.2D.3D2.D3.D$D2.D.2D6.D.D3.D$D2.D.D5.3D.D.D.D$D2.D.D4.D 2.D.D.D.D$3D2.D5.3D2.3D! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ AUTOSTART THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)

Identify

  • The period map generated by Identify can sometimes appear blurry.
    • This only occurs when "Scale" (see Help > Info) is at a non-integer value.
    • This occurs when the bounding box of the oscillator in question is not large enough for the "no grid, but with a thick border" period map style to be used, but is too thick for the "with a grid" style to be displayed without being slightly rescaled, introducing undesirable blurring.
    • More information on this issue, as well as an adjustable test case, can be found here: https://conwaylife.com/forums/viewtopic.php?p=158135#p158135
  • Volatility is not calculated correctly for patterns in Margolus rules.
    • Below, the exact same oscillator is provided in two rules, one in the outer-totalistic rulespace and one in the Margolus rulespace. Cells which have been on for eight or more generations are marked in red. As there are four stator cells, it would be expected that the volatility is not exactly 1, which is correctly reported for the outer-totalistic pattern but not for the Margolus pattern.
normal Margolus
x = 3, y = 11, rule = B3/S5 $b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 AGESTATES 8 COLOR ALIVERAMP 255 64 64 ]]
(click above to open LifeViewer)
x = 3, y = 11, rule = M0,0,0,15,0,15,0,0,0,0,15,0,15,0,0,0 $b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 AGESTATES 8 COLOR ALIVERAMP 255 64 64 ]]
(click above to open LifeViewer)

Pattern loading

  • Margolus patterns on bounded grids will delete the top row and leftmost column of the pattern when loaded, unlike in other rulespaces.
    • Other issues can arise from this, particularly if the top-left cell should be alive but is not. For example, a "New Pattern" message will not be displayed despite no alive cells being present, the population counter will report that one live cell is present, and using "Select All" creates a selection at the bottom right corner of the bounded grid.
    • Fixes for Margolus pattern positioning on bounded grids are on the backlog.[2]
Margolus outer-totalistic
x = 12, y = 12, rule = M0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:T10 $3bob5o$2bo2bob2o$2b2obo2b3o$b2ob6o$2bo$b6obo$b6o2b2o$2b3o4b2o$bobobo $b2obob2o2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
x = 12, y = 12, rule = B/S012345678:T10 $3bob5o$2bo2bob2o$2b2obo2b3o$b2ob6o$2bo$b6obo$b6o2b2o$2b3o4b2o$bobobo $b2obob2o2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)

Scripting

  • For Generations rules, playback will automatically pause if the last pasted pattern consists solely of dying cells.
    • Non-scripted pauses should only occur when the pattern initially contained living cells, but then reaches a state of having none.
    • If, before running this pattern, we step to T=1 and then play it, a "Life ended at" message will be displayed alongside the pause. This should not happen either as neither the beginning pattern nor the pasted pattern contain any alive cells, so no life existed at any point in time to end.
x = 5, y = 7, rule = //8 2.B$.2B$B.B$2.B$2.B$2.B$5B! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ RLE two .3B$B3.B$4.B$3.B$2.B$.B$5B! PASTET 15 PASTE two 0 0 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)

Rendering

  • On hexagonal and triangular grids, regions outside of the boundary are not rendered as being outside of the boundary when using hexagon-shaped or triangle-shaped cells, and instead appear identical to inhabitable background regions.
    • The boundary color will be used if rectangular cells are used instead, such as via the toggle/script command or when sufficiently zoomed out.
hexagons triangles
x = 5, y = 5, rule = B2/S2H o$2o$bo2$obobo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 16 X -128 Y -256 STARTFROM 370 MAXGRIDSIZE 9 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
x = 5, y = 3, rule = B36/S12LV bobo$b2obo$2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 16 X -256 STARTFROM 250 MAXGRIDSIZE 9 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
hexagons (rect.) triangles (rect.)
x = 5, y = 5, rule = B2/S2H o$2o$bo2$obobo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ SQUARECELLS ZOOM 16 X -128 Y -256 STARTFROM 370 MAXGRIDSIZE 9 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
x = 5, y = 3, rule = B36/S12LV bobo$b2obo$2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ SQUARECELLS ZOOM 16 X -256 STARTFROM 250 MAXGRIDSIZE 9 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
  • For certain zoom levels, if high-quality rendering is used with CELLBORDERS, parts of cells can visually bleed into adjacent cell spaces.
x = 6, y = 6, rule = B3/S23 b3o$bob3o$4obo$ob4o$3obo$2b3o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ GRID OFF CELLBORDERS QUALITY ZOOM 4.82 ]]
(click above to open LifeViewer)
  • On hexagonal and triangular grids, cells of the exact same or similar colors directly adjacent to each other may render small gaps between each other, which are most visible for non-integer zoom levels.
    • These may be incredibly subtle depending on the hardware and software used - it may be advisable to take a screenshot and paste it into an image editor and flood fill in order to reveal these borders.
hexagons triangles
x = 11, y = 11, rule = //3H 6A$A5BA$AB4ABA$ABA3BABA$ABAB2ABABA$ABABABABABA$.ABAB2ABABA$2.ABA3BABA $3.AB4ABA$4.A5BA$5.6A! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 15.8 GRID OFF COLOR 1 Red COLOR 2 Red THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
x = 10, y = 6, rule = //3L $.BABABABAB$2.BABABAB$3.BABAB$4.BAB$5.B! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 15.8 GRID OFF COLOR 1 Red COLOR 2 Red THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)

Platform-exclusive issues

iOS

Identify

  • Oscillators with a sufficiently large bounding box will not have a period map generated.
    • This is due to a limitation of maximum image size on various Mobile devices (typically 4096x4096).


Rendering

  • When using a triangular grid, gaps can be seen in selections in two of the three orthogonal directions.
    • Use Select All on the following pattern:
x = 14, y = 6, rule = B3/S23L b3o$b2o3$12b2o$11b3o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 16 GRID OFF COLOR SELECT 0 128 0 ]]
(click above to open LifeViewer)

References