LifeViewer/Known bugs/Scripting: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
** At T=0, in the range-1 algorithm, a dead cell is visible in the thumbnail, but is not present in the popup viewer; in the general-range algorithm, it is present in both cases. In both cases, dead cells will manifest from T=1 onwards. | ** At T=0, in the range-1 algorithm, a dead cell is visible in the thumbnail, but is not present in the popup viewer; in the general-range algorithm, it is present in both cases. In both cases, dead cells will manifest from T=1 onwards. | ||
** The dead cells in the general-range algorithm, besides the first two, will never fade. | ** The dead cells in the general-range algorithm, besides the first two, will never fade. | ||
** The entire grid setup shows that for the general-range algorithm, the entire board, besides a central 2x2 area, is affected. Drawing cells and then starting playback will cause interesting results. | |||
{| class="wikitable" style="margin-left:auto; margin-right:auto; border:none" | {| class="wikitable" style="margin-left:auto; margin-right:auto; border:none" | ||
! Standard | ! Standard | ||
! General | ! General | ||
! Entire grid | |||
|- | |- | ||
| {{EmbedViewer | | {{EmbedViewer | ||
| Line 50: | Line 52: | ||
! | ! | ||
|viewerconfig = #C [[ PASTEMODE XOR PASTET EVERY 1 PASTEDELTA 1 0 PASTE o! 0 0 PASTE o! 0 0 THEME Book THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]] | |viewerconfig = #C [[ PASTEMODE XOR PASTET EVERY 1 PASTEDELTA 1 0 PASTE o! 0 0 PASTE o! 0 0 THEME Book THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]] | ||
}} | |||
| {{EmbedViewer | |||
|rle = x = 1, y = 1, rule = R1,C2,S2-3,B3 | |||
! | |||
|viewerconfig = #C [[ MAXGRIDSIZE 9 PASTEMODE XOR PASTET EVERY 1 PASTEDELTA 0 1 PASTE 512o! -256 -256 PASTE 512o! -256 -256 X 0 Y 0 ZOOM 1 STARTFROM 576 SHOWGENSTATS THEME Book THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]] | |||
}} | }} | ||
|} | |} | ||
* Attempting to customize the colour of GRIDMAJOR in a hexagonal or triangular rule, or a square grid rule with a GRIDMAJOR interval of 0, will not display an error. | * Attempting to customize the colour of GRIDMAJOR in a hexagonal or triangular rule, or a square grid rule with a GRIDMAJOR interval of 0, will not display an error. | ||
Revision as of 12:30, 27 February 2026
Currently known issues with LifeViewer script commands.
- STATE1FIT does not work as expected in [R]Super rules.
- STATE1FIT may be deprecated in the future in favor of a new ALIVEFIT command in order to resolve this issue.[1]
| [R]Standard | [R]History |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
| [R]Super | [R]Investigator |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Setting up paste commands that cancel out to produce nothing will have differing results in the range-1 algorithm versus the general-range algorithm.
- At T=0, in the range-1 algorithm, a dead cell is visible in the thumbnail, but is not present in the popup viewer; in the general-range algorithm, it is present in both cases. In both cases, dead cells will manifest from T=1 onwards.
- The dead cells in the general-range algorithm, besides the first two, will never fade.
- The entire grid setup shows that for the general-range algorithm, the entire board, besides a central 2x2 area, is affected. Drawing cells and then starting playback will cause interesting results.
| Standard | General | Entire grid |
|---|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Attempting to customize the colour of GRIDMAJOR in a hexagonal or triangular rule, or a square grid rule with a GRIDMAJOR interval of 0, will not display an error.
- This is unlike when trying to color cell states which do not apply to the active rule, as well as bounded grid edge cells in rules which do not specify a bounded grid; both cases produce an error to indicate that the customization is irrelevant.
| Hexagonal | Triangular | GRIDMAJOR 0 |
|---|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Changing the color of "dead" in [R]Super or [R]Investigator will not change the color of any cell states. However, it also will not display an error indicating that "dead" is not a valid element to customize for these specific rules.
- In [R]Standard and [R]History, "dead" will affect the colors of freshly-dead cells.
- Attempting to customize the capitalized "DEAD" in [R]Super or [R]Investigator will display an error.
| [R]Standard | [R]History |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
| [R]Super | [R]Investigator |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Different errors will be produced when trying to customize the colors of history, mark1, markoff, mark2 and kill in a rulespace which does not support these states if they are specified as lowercase compared to uppercase.
| Lowercase | Uppercase |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- When changing the active theme, TRACKLOOP will not adjust, resulting in visual major grid line jumping.
- For the following, change the theme to a theme with major grid lines such as the MCell theme.
| (click above to open LifeViewer) |
- Pasting something in [R]History via PASTEMODE COPY will cause any state-0 cells to become freshly-created state 2 cells.
- This is in contract to pasting state-2 cells themselves: these are set as fully aged.
- Expected behaviour would be for state 0 cells to be pasted as state 0 cells.
| Input pattern | When pasted |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- If a pattern that uses HISTORYFIT has its evolution modified by PASTE or Kill Gliders in a certain way, AUTOFIT will ignore all preceding history cells when calculating the box to fit the pattern to.
| PASTE | Kill Gliders |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- User interfaces interact incorrectly with specific values for popup width and height as defined in script commands.
- On some touchscreen devices, the popup created by the right thumbnail is twice the size it should be.[2]
- If a viewer window has a height of below 480, the Settings button will be disabled as the contents of that menu would not display in a usable way. Maximizing the popup on the right will enable that button, allowing it to be entered, and un-maximizing the popup will result in the settings menu closing. However, it may remain open for one frame before closing, showing buttons in an intersecting state.
| normal popup size | atypical size |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- If some commands are provided with a value exceeding 2147483647, they will overflow, rather than rejecting the value as it is provided. This does not apply to all commands.
- These values are presumably those which are handled as Uint32Arrays.[3]
| rejects correctly | incorrectly overflows |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- When all cells die, hexagonal grids may sometimes behave differently to square and triangular grids when using AUTOFIT on pasted content.
- In the following case, it zooms in to the bottom left of the grid, whereas the other two remain at their final position. The script commands are identical across all three.
| triangular | square | hexagonal |
|---|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
(click above to open LifeViewer) |