Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or home page function.
User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » January 17th, 2022, 7:37 pm

Still working on the big theme handling proposal, so another thing in the meantime:

Text and error colors aren't shown in Help > Info > Theme (or indeed anywhere else in Help) unless manually specified.

Code: Select all

x = 23, y = 19, rule = Fredkin R2
bo!

Code: Select all

x = 23, y = 19, rule = Fredkin R2
bo!
[[
COLOR TEXT Pink
COLOR ERROR Pink
]]
And UI stuff just doesn't show up in Help at all even if you specify it:

Code: Select all

x = 23, y = 19, rule = Fredkin R2
bo!

Code: Select all

x = 23, y = 19, rule = Fredkin R2
bo!
[[
COLOR UIFOREGROUND 255 192 192
COLOR UIBACKGROUND 16 0 0
COLOR UILOCKED 112 0 0
COLOR UISELECT 128 0 0
COLOR UIHIGHLIGHT 192 0 0
COLOR UIBORDER 255 224 224
]]
I'm not sure if it really makes sense for non-theme related content (text and error colors, LifeHistory/LifeSuper cell states, bounded, boundary, select/paste/advance) to be in the theme section. Would it be possible to create a new help section which compiles all of the currently-defined colors into a list where everything is readable at a glance? These might fit better in such a section.

User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » January 18th, 2022, 6:22 am

Big Theme Changes Suggestion finished, here goes nothing...

----

In addition to the 2-state ruletable question mentioned a couple of posts back, I've done quite a bit of thinking recently about how themes and rule table color handling by LifeViewer could be improved.

First though, here's some assorted bugs, suggestions and other funny stuff, many of which my change proposals would likely fix on the way and hopefully prevent from happening again:

- Firstly, the "none" rule as well as custom rules can accept themes. This only seems to change grid-related settings:

Code: Select all

x = 16, y = 16, rule = none:P16,16
.ABCDEFGHIJKLMNO$PQRSTUVWXpApBpCpDpEpFpG$pHpIpJpKpLpMpNpOpPpQpRpSpTpU
pVpW$pXqAqBqCqDqEqFqGqHqIqJqKqLqMqNqO$qPqQqRqSqTqUqVqWqXrArBrCrDrErFrG
$rHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrW$rXsAsBsCsDsEsFsGsHsIsJsKsLsMsNsO$sP
sQsRsSsTsUsVsWsXtAtBtCtDtEtFtG$tHtItJtKtLtMtNtOtPtQtRtStTtUtVtW$tXuAuB
uCuDuEuFuGuHuIuJuKuLuMuNuO$uPuQuRuSuTuUuVuWuXvAvBvCvDvEvFvG$vHvIvJvKvL
vMvNvOvPvQvRvSvTvUvVvW$vXwAwBwCwDwEwFwGwHwIwJwKwLwMwNwO$wPwQwRwSwTwUwV
wWwXxAxBxCxDxExFxG$xHxIxJxKxLxMxNxOxPxQxRxSxTxUxVxW$xXyAyByCyDyEyFyGyH
yIyJyKyLyMyNyO!
[[ GRID ]]

Code: Select all

x = 16, y = 16, rule = none:P16,16
.ABCDEFGHIJKLMNO$PQRSTUVWXpApBpCpDpEpFpG$pHpIpJpKpLpMpNpOpPpQpRpSpTpU
pVpW$pXqAqBqCqDqEqFqGqHqIqJqKqLqMqNqO$qPqQqRqSqTqUqVqWqXrArBrCrDrErFrG
$rHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrW$rXsAsBsCsDsEsFsGsHsIsJsKsLsMsNsO$sP
sQsRsSsTsUsVsWsXtAtBtCtDtEtFtG$tHtItJtKtLtMtNtOtPtQtRtStTtUtVtW$tXuAuB
uCuDuEuFuGuHuIuJuKuLuMuNuO$uPuQuRuSuTuUuVuWuXvAvBvCvDvEvFvG$vHvIvJvKvL
vMvNvOvPvQvRvSvTvUvVvW$vXwAwBwCwDwEwFwGwHwIwJwKwLwMwNwO$wPwQwRwSwTwUwV
wWwXxAxBxCxDxExFxG$xHxIxJxKxLxMxNxOxPxQxRxSxTxUxVxW$xXyAyByCyDyEyFyGyH
yIyJyKyLyMyNyO!
[[ GRID THEME MCell ]]

Code: Select all

x = 20, y = 20, rule = MarBlocks5-OT-2x2-minimal
2A10.8B$2A10.8B$2A$2A$2A$2A$2A$2A5$18.2C$18.2C$18.2C$18.2C$18.2C$18.
2C$8D10.2C$8D10.2C!
[[ GRID ]]

Code: Select all

x = 20, y = 20, rule = MarBlocks5-OT-2x2-minimal
2A10.8B$2A10.8B$2A$2A$2A$2A$2A$2A5$18.2C$18.2C$18.2C$18.2C$18.2C$18.
2C$8D10.2C$8D10.2C!
[[ GRID THEME Golly ]]

Code: Select all

x = 20, y = 20, rule = MarBlocks5-OT-2x2-minimal
2A10.8B$2A10.8B$2A$2A$2A$2A$2A$2A5$18.2C$18.2C$18.2C$18.2C$18.2C$18.
2C$8D10.2C$8D10.2C!
[[ GRID THEME Catagolue ]]
- Unlike every other rule family/color set I know of, anything that uses the Golly default colors has "Colours" as the shortcut name and "Set:" as the section title in Help > Info, in contrast to the "Theme" and "Theme:" seen elsewhere (even custom rules use the latter):

Code: Select all

x = 10, y = 10, rule = B3/S23
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b4o$
2o4bobo!

Code: Select all

x = 10, y = 10, rule = 23/3/3
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b4o$
2o4bobo!

Code: Select all

x = 10, y = 10, rule = PCA_4
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b4o$
2o4bobo!

Code: Select all

x = 10, y = 10, rule = MarBlocks-3-rep
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b4o$
2o4bobo!

Code: Select all

x = 10, y = 10, rule = none
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b4o$
2o4bobo!
-Invalid RLEs will result in the colors section in Help > Info (the one inconsistently titled as Theme and Colours, see above; in this case it uses the latter) acting as though the Golly default shades are being used to an extent, despite this not being accurate. For the first two, the Blues theme is clearly used, but the help section reports state 1's and 2's colors as that of Golly's defaults and also displays (default) instead of Blues as the theme name. The third pattern below correctly states that [R]History colors are being used and the reported colors seem correct, but the other four states in [R]History are completely omitted from the list. In all three examples, the state names for states 0 and 1 are not used, and only numbers are displayed. Which of the effects in this paragraph exactly are intended and which are not I can't be completely sure about, but all of this behaviour definitely seems weird:

Code: Select all

x = 10, y = 10, rule = B3/S23:T10000,10000
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b4o$
2o4bobo!

Code: Select all

x = 10, y = 10, rule = B3/S23
2o2b2obobo$o2bo3bo$b3o2bobo$o4bo$2bo2b3obo$4bobo2bo$7ob2o$bo5b2o$5b10000o$
2o4bobo!

Code: Select all

x = 10, y = 10, rule = B3/S23History
HA2.2A.A.A$A2.A3.A$.3A2.A.A$A4.A$2.A2.3A.A$4.A.A2.A$7A.2A$.A5.2A$5.4A
$2A4.A.A!
(Secondary discovery here: the max pattern size is displayed, but the max bounded grid size is not.)

----

Now for my custom rule theme handling proposal, which should hopefully remedy some of the above problems:

By default, any ruletable which is loaded by LifeViewer would be set to the CUSTOM theme. Whether the rule explicitly defines any colors is irrelevant - ruletables will start off with a custom theme regardless of whether every state has a specific color defined, or if there are no defined colors and it just defaults to the red-to-yellow gradient - both would be considered custom themes.

Rather than only showing up on special occasions, the default Golly colors palette would become a feature of the Golly theme. It would be separate from the usual Golly colors in the same sense that the Golly theme has a different set of colors for 2-state rules than it does for Generations rules.

This change would result in the following:

- The Theme menu button in Settings would no longer be grayed out. Opening it would of course reveal CUSTOM to be the currently selected theme, with the Golly theme being another selectable option. Selecting the Golly theme when the currently-used rule is a custom ruletable would cause the default Golly shades to be used for that ruletable, just like how any other theme would work (specifying the golly theme in a script would have much the same effect - the CUSTOM theme would still be available in the menu and could still be switched to). As a result, this would be implemented.
- The none rule would be set to the Golly theme by default, so that it displays the Golly default colors for cells. If script commands modify any of the 256 states' colors in the none rule, LifeViewer would consider this to be a CUSTOM theme. Like with ruletables, the Theme menu button would no longer be grayed out for the none rule, allowing for access to the menu to change the theme between the Golly theme and CUSTOM.

Some of the issues noted earlier in this post would be amended as a result:
- Specifying themes in script commands for the none rule and custom rules would no longer be a problem since themes would be inherently capable of handling custom rules. (Or rather, some themes would - I'll get to what should happen for the other themes in a bit.)
- Since the none rule would use the Golly theme by default, rather than not using a theme at all like is currently the case, then the weird Theme/Set/Colours help section naming inconsistency would be gone, since it'd make complete sense to call it the Theme section then. In addition, the displayed theme name would be "Golly", rather than the currently-nonexistent "(default)".

Another minor inconsistency that would be ironed out by this would be that custom rules would actually display a theme name in Help > Info > Theme. Currently, no such line exists for custom rules, which sets it apart from every other rulespace. This change would result in such a line being added, and the currently active theme's name being displayed there, since again, custom rules would actually be considered to be using a theme.

The Help > Themes section would gain a "Custom" section, analogous to the existing 2-State and Multi sections (and hopefully also a future PCA section), which would display the color values used for each cell state in each theme.

As for themes that aren't either CUSTOM or Golly, for custom/none rules:
- The MCell theme would use the following colors for each state:

Code: Select all

x = 16, y = 16, rule = none:P16,16
.ABCDEFGHIJKLMNO$PQRSTUVWXpApBpCpDpEpFpG$pHpIpJpKpLpMpNpOpPpQpRpSpTpU
pVpW$pXqAqBqCqDqEqFqGqHqIqJqKqLqMqNqO$qPqQqRqSqTqUqVqWqXrArBrCrDrErFrG
$rHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrW$rXsAsBsCsDsEsFsGsHsIsJsKsLsMsNsO$sP
sQsRsSsTsUsVsWsXtAtBtCtDtEtFtG$tHtItJtKtLtMtNtOtPtQtRtStTtUtVtW$tXuAuB
uCuDuEuFuGuHuIuJuKuLuMuNuO$uPuQuRuSuTuUuVuWuXvAvBvCvDvEvFvG$vHvIvJvKvL
vMvNvOvPvQvRvSvTvUvVvW$vXwAwBwCwDwEwFwGwHwIwJwKwLwMwNwO$wPwQwRwSwTwUwV
wWwXxAxBxCxDxExFxG$xHxIxJxKxLxMxNxOxPxQxRxSxTxUxVxW$xXyAyByCyDyEyFyGyH
yIyJyKyLyMyNyO!
[[ COLOR GRID 64 0 0 COLOR GRIDMAJOR 99 3 1 GRIDMAJOR 5 GRID
COLOR 0 0 0 0
COLOR 1 255 255 0
COLOR 2 255 219 0
COLOR 3 255 183 0
COLOR 4 255 147 0
COLOR 5 255 111 0
COLOR 6 255 75 0
COLOR 7 255 39 0
COLOR 8 255 0 0
COLOR 9 240 0 0
COLOR 10 225 0 0
COLOR 11 210 0 0
COLOR 12 195 0 0
COLOR 13 180 0 0
COLOR 14 165 0 0
COLOR 15 150 0 0
COLOR 16 128 0 0
COLOR 17 123 0 0
COLOR 18 118 0 0
COLOR 19 113 0 0
COLOR 20 108 0 0
COLOR 21 103 0 0
COLOR 22 98 0 0 
COLOR 23 93 0 0
COLOR 24 81 0 0
COLOR 25 71 31 0
COLOR 26 61 62 0
COLOR 27 51 93 0
COLOR 28 41 124 0
COLOR 29 31 155 0
COLOR 30 21 186 0
COLOR 31 11 217 0
COLOR 32 0 255 0
COLOR 33 255 255 0
COLOR 34 255 219 0
COLOR 35 255 183 0
COLOR 36 255 147 0
COLOR 37 255 111 0
COLOR 38 255 75 0
COLOR 39 255 39 0
COLOR 40 255 0 0
COLOR 41 240 0 0
COLOR 42 225 0 0
COLOR 43 210 0 0
COLOR 44 195 0 0
COLOR 45 180 0 0
COLOR 46 165 0 0
COLOR 47 150 0 0
COLOR 48 128 0 0
COLOR 49 123 0 0
COLOR 50 118 0 0
COLOR 51 113 0 0
COLOR 52 108 0 0
COLOR 53 103 0 0
COLOR 54 98 0 0 
COLOR 55 93 0 0
COLOR 56 81 0 0
COLOR 57 71 31 0
COLOR 58 61 62 0
COLOR 59 51 93 0
COLOR 60 41 124 0
COLOR 61 31 155 0
COLOR 62 21 186 0
COLOR 63 11 217 0
COLOR 64 0 255 0
COLOR 65 255 255 0
COLOR 66 255 219 0
COLOR 67 255 183 0
COLOR 68 255 147 0
COLOR 69 255 111 0
COLOR 70 255 75 0
COLOR 71 255 39 0
COLOR 72 255 0 0
COLOR 73 240 0 0
COLOR 74 225 0 0
COLOR 75 210 0 0
COLOR 76 195 0 0
COLOR 77 180 0 0
COLOR 78 165 0 0
COLOR 79 150 0 0
COLOR 80 128 0 0
COLOR 81 123 0 0
COLOR 82 118 0 0
COLOR 83 113 0 0
COLOR 84 108 0 0
COLOR 85 103 0 0
COLOR 86 98 0 0 
COLOR 87 93 0 0
COLOR 88 81 0 0
COLOR 89 71 31 0
COLOR 90 61 62 0
COLOR 91 51 93 0
COLOR 92 41 124 0
COLOR 93 31 155 0
COLOR 94 21 186 0
COLOR 95 11 217 0
COLOR 96 0 255 0
COLOR 97 255 255 0
COLOR 98 255 219 0
COLOR 99 255 183 0
COLOR 100 255 147 0
COLOR 101 255 111 0
COLOR 102 255 75 0
COLOR 103 255 39 0
COLOR 104 255 0 0
COLOR 105 240 0 0
COLOR 106 225 0 0
COLOR 107 210 0 0
COLOR 108 195 0 0
COLOR 109 180 0 0
COLOR 110 165 0 0
COLOR 111 150 0 0
COLOR 112 128 0 0
COLOR 113 123 0 0
COLOR 114 118 0 0
COLOR 115 113 0 0
COLOR 116 108 0 0
COLOR 117 103 0 0
COLOR 118 98 0 0 
COLOR 119 93 0 0
COLOR 120 81 0 0
COLOR 121 71 31 0
COLOR 122 61 62 0
COLOR 123 51 93 0
COLOR 124 41 124 0
COLOR 125 31 155 0
COLOR 126 21 186 0
COLOR 127 11 217 0
COLOR 128 0 255 0
COLOR 129 255 255 0
COLOR 130 255 219 0
COLOR 131 255 183 0
COLOR 132 255 147 0
COLOR 133 255 111 0
COLOR 134 255 75 0
COLOR 135 255 39 0
COLOR 136 255 0 0
COLOR 137 240 0 0
COLOR 138 225 0 0
COLOR 139 210 0 0
COLOR 140 195 0 0
COLOR 141 180 0 0
COLOR 142 165 0 0
COLOR 143 150 0 0
COLOR 144 128 0 0
COLOR 145 123 0 0
COLOR 146 118 0 0
COLOR 147 113 0 0
COLOR 148 108 0 0
COLOR 149 103 0 0
COLOR 150 98 0 0 
COLOR 151 93 0 0
COLOR 152 81 0 0
COLOR 153 71 31 0
COLOR 154 61 62 0
COLOR 155 51 93 0
COLOR 156 41 124 0
COLOR 157 31 155 0
COLOR 158 21 186 0
COLOR 159 11 217 0
COLOR 160 0 255 0
COLOR 161 255 255 0
COLOR 162 255 219 0
COLOR 163 255 183 0
COLOR 164 255 147 0
COLOR 165 255 111 0
COLOR 166 255 75 0
COLOR 167 255 39 0
COLOR 168 255 0 0
COLOR 169 240 0 0
COLOR 170 225 0 0
COLOR 171 210 0 0
COLOR 172 195 0 0
COLOR 173 180 0 0
COLOR 174 165 0 0
COLOR 175 150 0 0
COLOR 176 128 0 0
COLOR 177 123 0 0
COLOR 178 118 0 0
COLOR 179 113 0 0
COLOR 180 108 0 0
COLOR 181 103 0 0
COLOR 182 98 0 0 
COLOR 183 93 0 0
COLOR 184 81 0 0
COLOR 185 71 31 0
COLOR 186 61 62 0
COLOR 187 51 93 0
COLOR 188 41 124 0
COLOR 189 31 155 0
COLOR 190 21 186 0
COLOR 191 11 217 0
COLOR 192 0 255 0
COLOR 193 255 255 0
COLOR 194 255 219 0
COLOR 195 255 183 0
COLOR 196 255 147 0
COLOR 197 255 111 0
COLOR 198 255 75 0
COLOR 199 255 39 0
COLOR 200 255 0 0
COLOR 201 240 0 0
COLOR 202 225 0 0
COLOR 203 210 0 0
COLOR 204 195 0 0
COLOR 205 180 0 0
COLOR 206 165 0 0
COLOR 207 150 0 0
COLOR 208 128 0 0
COLOR 209 123 0 0
COLOR 210 118 0 0
COLOR 211 113 0 0
COLOR 212 108 0 0
COLOR 213 103 0 0
COLOR 214 98 0 0 
COLOR 215 93 0 0
COLOR 216 81 0 0
COLOR 217 71 31 0
COLOR 218 61 62 0
COLOR 219 51 93 0
COLOR 220 41 124 0
COLOR 221 31 155 0
COLOR 222 21 186 0
COLOR 223 11 217 0
COLOR 224 0 255 0
COLOR 225 255 255 0
COLOR 226 255 219 0
COLOR 227 255 183 0
COLOR 228 255 147 0
COLOR 229 255 111 0
COLOR 230 255 75 0
COLOR 231 255 39 0
COLOR 232 255 0 0
COLOR 233 240 0 0
COLOR 234 225 0 0
COLOR 235 210 0 0
COLOR 236 195 0 0
COLOR 237 180 0 0
COLOR 238 165 0 0
COLOR 239 150 0 0
COLOR 240 128 0 0
COLOR 241 123 0 0
COLOR 242 118 0 0
COLOR 243 113 0 0
COLOR 244 108 0 0
COLOR 245 103 0 0
COLOR 246 98 0 0 
COLOR 247 93 0 0
COLOR 248 81 0 0
COLOR 249 71 31 0
COLOR 250 61 62 0
COLOR 251 51 93 0
COLOR 252 41 124 0
COLOR 253 31 155 0
COLOR 254 21 186 0
COLOR 255 11 217 0 ]]
- The Catagolue theme would use the following colors for each state, meaning that viewer windows would properly match the images generated by the site (some example patterns: https://catagolue.hatsya.com/census/x12 ... i2x128/xp2):

Code: Select all

x = 16, y = 16, rule = none:P16,16
.ABCDEFGHIJKLMNO$PQRSTUVWXpApBpCpDpEpFpG$pHpIpJpKpLpMpNpOpPpQpRpSpTpU
pVpW$pXqAqBqCqDqEqFqGqHqIqJqKqLqMqNqO$qPqQqRqSqTqUqVqWqXrArBrCrDrErFrG
$rHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrW$rXsAsBsCsDsEsFsGsHsIsJsKsLsMsNsO$sP
sQsRsSsTsUsVsWsXtAtBtCtDtEtFtG$tHtItJtKtLtMtNtOtPtQtRtStTtUtVtW$tXuAuB
uCuDuEuFuGuHuIuJuKuLuMuNuO$uPuQuRuSuTuUuVuWuXvAvBvCvDvEvFvG$vHvIvJvKvL
vMvNvOvPvQvRvSvTvUvVvW$vXwAwBwCwDwEwFwGwHwIwJwKwLwMwNwO$wPwQwRwSwTwUwV
wWwXxAxBxCxDxExFxG$xHxIxJxKxLxMxNxOxPxQxRxSxTxUxVxW$xXyAyByCyDyEyFyGyH
yIyJyKyLyMyNyO!
[[ COLOR GRID 160 221 204 COLOR GRIDMAJOR 160 221 204 GRIDMAJOR 0 GRID
COLOR 0 192 255 238
COLOR 1 0 0 0
COLOR 2 96 192 119
COLOR 3 255 0 0
COLOR 4 64 85 249
COLOR 5 64 85 79
COLOR 6 64 170 79
COLOR 7 234 85 79
COLOR 8 48 64 251
COLOR 9 48 64 60
COLOR 10 48 160 60
COLOR 11 239 64 60
COLOR 12 38 51 252
COLOR 13 38 51 48
COLOR 14 38 153 48
COLOR 15 242 51 48
COLOR 16 32 43 252
COLOR 17 32 43 40
COLOR 18 32 149 40
COLOR 19 244 43 40
COLOR 20 28 37 253
COLOR 21 28 37 35
COLOR 22 28 146 35
COLOR 23 246 37 35
COLOR 24 24 32 253
COLOR 25 24 32 30
COLOR 26 24 144 30
COLOR 27 247 32 30
COLOR 28 22 29 253
COLOR 29 22 29 27
COLOR 30 22 142 27
COLOR 31 248 29 27
COLOR 32 20 26 253
COLOR 33 20 26 24
COLOR 34 20 141 24
COLOR 35 249 26 24
COLOR 36 18 24 253
COLOR 37 18 24 22
COLOR 38 18 140 22
COLOR 39 249 24 22
COLOR 40 17 22 254
COLOR 41 17 22 21
COLOR 42 17 139 21
COLOR 43 250 22 21
COLOR 44 15 20 254
COLOR 45 15 20 19
COLOR 46 15 138 19
COLOR 47 250 20 19
COLOR 48 14 19 254
COLOR 49 14 19 18
COLOR 50 14 137 18
COLOR 51 250 19 18
COLOR 52 13 17 254
COLOR 53 13 17 16
COLOR 54 13 136 16
COLOR 55 251 17 16
COLOR 56 12 16 254
COLOR 57 12 16 15
COLOR 58 12 136 15
COLOR 59 251 16 15
COLOR 60 11 15 254
COLOR 61 11 15 14
COLOR 62 11 135 14
COLOR 63 251 15 14
COLOR 64 11 15 254
COLOR 65 11 15 14
COLOR 66 11 135 14
COLOR 67 251 15 14
COLOR 68 11 14 254
COLOR 69 11 14 13
COLOR 70 11 135 13
COLOR 71 252 14 13
COLOR 72 10 13 254
COLOR 73 10 13 12
COLOR 74 10 134 12
COLOR 75 252 13 12
COLOR 76 10 13 254
COLOR 77 10 13 12
COLOR 78 10 134 12
COLOR 79 252 13 12
COLOR 80 9 12 254
COLOR 81 9 12 11
COLOR 82 9 134 11
COLOR 83 252 12 11
COLOR 84 9 12 254
COLOR 85 9 12 11
COLOR 86 9 134 11
COLOR 87 252 12 11
COLOR 88 8 11 254
COLOR 89 8 11 10
COLOR 90 8 133 10
COLOR 91 252 11 10
COLOR 92 8 11 254
COLOR 93 8 11 10
COLOR 94 8 133 10
COLOR 95 252 11 10
COLOR 96 8 10 254
COLOR 97 8 10 9
COLOR 98 8 133 9
COLOR 99 253 10 9
COLOR 100 8 10 254
COLOR 101 8 10 9
COLOR 102 8 133 9
COLOR 103 253 10 9
COLOR 104 8 10 254
COLOR 105 8 10 9
COLOR 106 8 133 9
COLOR 107 253 10 9
COLOR 108 7 9 254
COLOR 109 7 9 8
COLOR 110 7 132 8
COLOR 111 253 9 8
COLOR 112 7 9 254
COLOR 113 7 9 8
COLOR 114 7 132 8
COLOR 115 253 9 8
COLOR 116 7 9 254
COLOR 117 7 9 8
COLOR 118 7 132 8
COLOR 119 253 9 8
COLOR 120 6 8 254
COLOR 121 6 8 7
COLOR 122 6 132 7
COLOR 123 253 8 7
COLOR 124 6 8 254
COLOR 125 6 8 7
COLOR 126 6 132 7
COLOR 127 253 8 7
COLOR 128 6 8 254
COLOR 129 6 8 7
COLOR 130 6 131 7
COLOR 131 253 8 7
COLOR 132 6 8 254
COLOR 133 6 8 7
COLOR 134 6 131 7
COLOR 135 253 8 7
COLOR 136 6 8 254
COLOR 137 6 8 7
COLOR 138 6 131 7
COLOR 139 253 8 7
COLOR 140 5 7 255
COLOR 141 5 7 7
COLOR 142 5 131 7
COLOR 143 253 7 7
COLOR 144 5 7 255
COLOR 145 5 7 7
COLOR 146 5 131 7
COLOR 147 253 7 7
COLOR 148 5 7 255
COLOR 149 5 7 7
COLOR 150 5 131 7
COLOR 151 253 7 7
COLOR 152 5 7 255
COLOR 153 5 7 7
COLOR 154 5 131 7
COLOR 155 253 7 7
COLOR 156 5 7 255
COLOR 157 5 7 7
COLOR 158 5 131 7
COLOR 159 253 7 7
COLOR 160 5 7 255
COLOR 161 5 7 7
COLOR 162 5 131 7
COLOR 163 253 7 7
COLOR 164 5 6 255
COLOR 165 5 6 6
COLOR 166 5 131 6
COLOR 167 254 6 6
COLOR 168 5 6 255
COLOR 169 5 6 6
COLOR 170 5 131 6
COLOR 171 254 6 6
COLOR 172 5 6 255
COLOR 173 5 6 6
COLOR 174 5 131 6
COLOR 175 254 6 6
COLOR 176 5 6 255
COLOR 177 5 6 6
COLOR 178 5 131 6
COLOR 179 254 6 6
COLOR 180 5 6 255
COLOR 181 5 6 6
COLOR 182 5 131 6
COLOR 183 254 6 6
COLOR 184 5 6 255
COLOR 185 5 6 6
COLOR 186 5 131 6
COLOR 187 254 6 6
COLOR 188 5 6 255
COLOR 189 5 6 6
COLOR 190 5 131 6
COLOR 191 254 6 6
COLOR 192 5 6 255
COLOR 193 5 6 6
COLOR 194 5 130 6
COLOR 195 254 6 6
COLOR 196 4 5 255
COLOR 197 4 5 5
COLOR 198 4 130 5
COLOR 199 254 5 5
COLOR 200 4 5 255
COLOR 201 4 5 5
COLOR 202 4 130 5
COLOR 203 254 5 5
COLOR 204 4 5 255
COLOR 205 4 5 5
COLOR 206 4 130 5
COLOR 207 254 5 5
COLOR 208 4 5 255
COLOR 209 4 5 5
COLOR 210 4 130 5
COLOR 211 254 5 5
COLOR 212 4 5 255
COLOR 213 4 5 5
COLOR 214 4 130 5
COLOR 215 254 5 5
COLOR 216 4 5 255
COLOR 217 4 5 5
COLOR 218 4 130 5
COLOR 219 254 5 5
COLOR 220 4 5 255
COLOR 221 4 5 5
COLOR 222 4 130 5
COLOR 223 254 5 5
COLOR 224 4 5 255
COLOR 225 4 5 5
COLOR 226 4 130 5
COLOR 227 254 5 5
COLOR 228 4 5 255
COLOR 229 4 5 5
COLOR 230 4 130 5
COLOR 231 254 5 5
COLOR 232 4 5 255
COLOR 233 4 5 5
COLOR 234 4 130 5
COLOR 235 254 5 5
COLOR 236 4 5 255
COLOR 237 4 5 5
COLOR 238 4 130 5
COLOR 239 254 5 5
COLOR 240 4 5 255
COLOR 241 4 5 5
COLOR 242 4 130 5
COLOR 243 254 5 5
COLOR 244 4 5 255
COLOR 245 4 5 5
COLOR 246 4 130 5
COLOR 247 254 5 5
COLOR 248 3 4 255
COLOR 249 3 4 4
COLOR 250 3 130 4
COLOR 251 254 4 4
COLOR 252 3 4 255
COLOR 253 3 4 4
COLOR 254 3 130 4
COLOR 255 254 4 4
]]
- For all the other themes: do as you see fit. Whether it be creating dedicated color sets for each theme, use the Generations DYING to DYINGRAMP gradient, duplicate the Golly default shades for states 2-255 for all of the themes, don't define anything and see how the viewer handles it, or even just gray all of the other themes out in the theme menu and forbid their selection in scripts.

----

Hopefully I've described everything here in an understandable way - I've tried to account for absolutely everything in this ultimately somewhat minor suggestion. If there's anything you're not sure about, I wasn't clear enough on, any other problems this might pose, anything you disagree with or reasons why this can't be implemented, do tell me.

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » January 21st, 2022, 9:41 am

rowett wrote:
January 12th, 2022, 5:56 pm
muzik wrote:
January 12th, 2022, 10:10 am
Golly has a range-250 cap on outer-totalistic triangular rules. LifeViewer, however, does not seem to reject rules with a range above this, and I doubt this is working as intended. Even just advancing one generation on the following pattern (which should leave it unchanged anyway) causes the viewer (and possibly more) to freeze entirely, so I'm not sure if this is due to LifeViewer crashing from attempting to simulate an invalid rule, it taking a monstrously long time to simulate one generation, or it taking a monstrously long time to simulate one generation incorrectly
The answer is option 2: it's taking a long time.
LifeViewer now takes less of a monstrously long time to simulate HROT Triangular rules.

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Pattern viewer for forum threads

Post by Book » January 24th, 2022, 8:18 pm

Is it ok to link to the js plug-in directly?
Phil Bookman

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » January 27th, 2022, 3:31 am

Book wrote:
January 24th, 2022, 8:18 pm
Is it ok to link to the js plug-in directly?
It's better to host it locally but I've got no particular objection.

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » January 30th, 2022, 1:51 pm

muzik wrote:
July 26th, 2020, 5:03 pm
A few (and hopefully final for now) ideas for neighbourhoods: (the range values might be a bit weird though, so implement how you personally see fit)

Aligned checkerboard (Nb):

Code: Select all

x = 17, y = 7, rule = bshistory
10.A.A.A.A$4.A.A.A2.A.A.A$A.A2.A.A2.A.A.A.A$.E2.A.E.A2.A.E.A$A.A2.A.A
2.A.A.A.A$4.A.A.A2.A.A.A$10.A.A.A.A!
[[ VIEWONLY GRID THEME Blues ]]
Aligned checkerboard (ND):

Code: Select all

x = 1, y = 1, rule=R4,C2,S,B1,ND
o!
[[ STOP 1 AUTOSTART NOREPORT HARDRESET ]]

User avatar
dvgrn
Moderator
Posts: 10670
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Pattern viewer for forum threads

Post by dvgrn » January 31st, 2022, 2:04 pm

A new display issue just came up that I've never seen before -- possibly a new bug, possibly involving LifeHistory?

See this post. If I open that pattern, it looks as if it's being displayed in some kind of limited-height bounded grid, but I don't see why it would do that.

Then, when I run to T=100 and then zoom far out and far in a few times, I find that zoom levels of -1.0 and below cause spurious red spots to appear above the actual patterns. These spots disappear as soon as I zoom in closer than -1.0, and re-appear again when I zoom out.

Is it my imagination, or do other people see this too? The first issue happens with a plain-Life version of the pattern, too -- see below.
LVdisplaybugreport.png
LVdisplaybugreport.png (75.54 KiB) Viewed 1055 times

Code: Select all

x = 4362, y = 282, rule = B3/S23
bo4bo69bo74bo74bo77bo71bo73bo9bobo69bo73bo69bo77bo71bo3b2o71bo82bo69bo
72bo3bobo70bobo73bo69bo79bo68bo74bo84bo71bo67bo74bo76bo75bo77bo68bo10b
obo61bo74bo74bo74bo74bo75bo78bo69bo78bo70bo85bo62bo75bo81bo68bo82bo64b
o86bo62bobo77bobo68bo74bo74bo74bo74bo75bo73bo79bo79bo$2bo2b2o70bo74bo
74bo77bo71bo4bo68b2o7b2o68b2o75b2o68b2o76bo71bo2bobo68b2o82bo71bo72bo
2b2o71b2o75bo69b2o78bo68bo74bo84bo71bo67bo74bo76bo75bo75bo70bo9b2o63bo
9bobo62bo74bo74bo74bo72bobo78bobo68bo78bo70bo73bo8b2o64b2o6bo67bo11bo
61bo7bo68b2o81b2o63b2o82b2o64b2o77b2o70b2o73bo74bo74bo74bo75bo71bo78b
2o78b2o$3o2bobo67b3o72b3o72b3o75b3o69b3o2b2o68b2o9bo69b2o73b2o68b2o75b
3o69b3o2bo71b2o81b3o67b3o70b3o3bo66bo5bo73b3o68b2o71bo5b3o66b3o72b3o
82b3o69b3o65b3o72b3o74b3o73b3o75b3o66b3o10bo61b3o9b2o61b3o72b3o72b3o5b
o66b3o73b2o78b2o67b3o4b2o70b3o68b3o74bo8b2o62b2o8bo64b3o10bo63bo4b3o
67b2o81b2o63b2o74bo9b2o63bo79bo69b2o72b3o72b3o72b3o8bo63b3o8bo64b3o71b
3o77b2o78b2o$381b2o667b2o150bo74bo80bo67b2o673bo161bo74bo143b2o298bobo
215b3o80b3o77b3o59b3o299bo228bo228b2o73b2o68b2o144bo79bo$300b2o153b2o
68bo75bo9b2o68b2o368b2o147b3o72bobo73bo4b2o67b2o675bo76b3o72b3o72b3o5b
2o65b3o6bo68bobo147bo149bo372bo81bo69bo82bo64bo69b3o76bo150b2o228bobo
72bobo67bobo144bo79bo$76b2o72b2o73b2o74b2o2b3o69b3o74b2o70b2o73b2o7b2o
68b2o219bo148bo4b2o69b2o148b2o3b2o68b2o4b2o70b2o71b3o72b3o82b3o69b3o
64b2o73b2o75b2o74b2o69b3o78bo74bo74bo5bobo66bo5b2o63bo74bo80bo68bo74b
2o79b2o69b2o222b2o80b2o68b2o81b2o63b2o150bo145bo3bobo68b3o72b3o72bo75b
o72b2o3bo144b3o77b3o$2b3o72b2o72b2o73b2o72bo4bo71bo78bo68b2o73bobo9bo
69bo69bo2b3o69b3o72bo151b2o69bobo153bobo66bobo77b2o72bo74bo71bo12bo71b
o63b2o73b2o75b2o74b2o150bo74bo74bo74bo6bobo62b2o73b2o4b2o71b3o69bo72bo
bo78b2o69b2o71b2o81b2o68b2o80b2o63bo4b2o81b2o63b2o147b3o144b2o76bo74bo
72b2o73b2o72bobo$4bo71bo4bo68bo74bo80bo71bo371bobo2bo71bo72b3o73bo79bo
70bo72b2o79bo147bo73bo74bo72b2o10bo71bo66bo74bo76bo75bo445bobo72bobo3b
2o142b3o74bo80bo70bo70bobo80bobo215bo224b2o147bo73bobo74bo74bo72bobo
73bobo71bo154b3o$3bo76b2o448b2o143b2o74b2o3bo71bo148bo222bobo447bobo
450b2o454bo290b2o82b2o65bo82bo215b3o225b2o147bo602bo$80bobo446b2o145b
2o297b3o222bo903b2o525b2o218b2o80b2o441b2o84b2o63bo77b2o68b3o524bo78bo
$155bo375bo143bo227b2o611b2o283bo75bo73bo74bo76bo526bobo68b2o147bo84bo
439bobo84bobo141b2o595bo$154b2o746bobo610b2o283b2o74b2o73b2o73b2o604bo
67bobo674bo84bo142bo595b3o147b2o$154bobo747bo73b2o537bo282bobo73bobo
71bobo72bobo674bo974b2o671bobo$977bobo2698b2o672bo$979bo2697bo522b2o$
4200bobo$4200bo$1580bo145bo$1579b2o145b2o$1579bobo143bobo$3827b2o$234b
3o3589b2o$234bo3593bo76b2o$235bo3669bobo$3905bo245$525b3o36bo32b2o23b
2o5bo35b2o18b2o31bo31bo36bo32bo32b2o34b2o26b2o31bo24bo6bo24b2o4bo24bo
38bo24bo37bo31b2o32bo23b2o37b2o30bo33bo21bo32bo32b2o36b2o35b3o25bo32b
2o20bo32bo39bo31bo27b2o30b2o25b2o3b2o27b2o34b2o30b2o24bo32b2o2b2o30b2o
31b2o24b2o32bo31b2o31bo29bo31b2o31b2o31bo35b2o25b2o30b2o30bo33bo31b2o
31bo29b2o30b2o32b2o25b2o32b2o31b2o27b2o32b2o33b2o30bo30b2o32b2o32bo24b
2o29b3o38bo31b2o31bo23bo32bo31bo29bo31b2o30b2o32b2o27bo32bo34bo31b3o
30bo31bo30b3o31b2o30bo29bo32bo31bo30bo28bo37bo$524bo3bo34bobo32bo23bob
o3bobo33b2o19bobo5b2o22bobo5b2o22bobo3b2o26b2o2b3o29bobo30bobo30bo2b2o
26bobo30bobo22bobo4bobo23bo4bobo22bobo4b2o23b2o5bobo22bobo36b3o30bo31b
obo21bobo36bo2bo28bobo31bobo20b3o5bo23bobo7b2o21bobo5b2o22bo6bobo30b2o
2bo26bobo30bobo20b3o29bobo37bobo29bobo22b2ob2o27b2ob2o26bobob2o27bobo
30b2ob2o27b2ob2o25b3o30b2ob2o27b2ob2o28b2ob2o25b2o31bobo31bo2b2o26bobo
27bobo30bobo31bo30bobo30b2ob2o25bobo30bo31b3o30bobo29bobo29b3o29bobo
29bobo30bo2bo24bobo30bobo31bo28bobo30bobo32bobo29bobo29bobo32bo25b2o5b
o23bo2bo69bo31bobo29bobo21bobo31bo31bo28bobo29bo2bo28bo2bo30bo2bo26bo
31bobo32bobo63bo31bo65bo30bo29b3o29bobo30bo30b3o25bobo36bo$523bo4bo34b
o2bo28b3o25b2o3bo2bo21b2o6b2o3bo19b2o5bo24b2o5bo24bobo2bobo24bobo5bo
28bo2bo29b2o30bobo3bo25b2o30bobo22bo2bo3bobo22bobo4bo2bo21bobo4bo24bo
6bo2bo21bobo4b2o33bo29bobo28bo2bo21b2o38bobo28bo2bo21b2o7b2o24bo4b3o
21bo2bo7bo21bo6bo2bo20bobo6bobo21bo6bo2bo2bo19b2o4bo2bo22bo7bo24bo29bo
bo36bo2bo28bo2bo20bobo3bo25bobo3bo26b2o3bo27bo30bobo3bo25bobo3bo27bo
34bo25bobo3bo26bobo3bo30b3o23bobo29b3o2b2o27b2o29b2o32bo2b3o23b3o32bo
30bobo3bo24bo30bobo34bo30bo29bobo29bo4b3o27bo31bo31bobo25bobo29bo34b3o
26bo30bobo34bo31bo31bobo28b3o25bo2bo4bo23bobo37b2o31bo32b2o30b2o21bo2b
o30bo31bo29bo31bobo28bobo2b3o26bobo27bo32bo3bo29bobo33b2o28bo31bo62b3o
26b2o3bo32bo28bo2bo29bo33bo24bo2bo35bo$524bob2o36b2o29bo33b2o22bobo4bo
bo28bobo29bobo25b2o3bobo23bo6b2o22b2o5b2o2b3o56bo2bo61b2o24b2o4b2o23b
2o6b2o23bo6b3o22b3o4b2o23bo6bo24bo7b2o30b2o22bo6b2o63bo30b2o22b2o2b2o
28b2o7bo21b2o5b3o21b2o6bobo21bo2bo6bo21bobo5bobo22bobo5b2o22bobo30b2o
30b2o37b2o30b2o21b2o30b2o95b2o30b2o31b2o60b2o31b2o32bo2bo25b2o5b2o23bo
6bo91b2obo25bo65b2o28b2o30b2o34b2o61bo30b2o3bo25bo3b2o26bo3b2o31bo27bo
6b2o21b2o36bo58bo100bo29bo28bobo29bo6bo30bo2bo53b3o29b3o31b2o98b3o25bo
2b3o25bo3bo29bo65bo30bo28b2o4bobo61b2o59bo27bo2bo34b2o29b2o63b2o25b2o
3b3o$525bo96bo31bobo3b2o25bo3b2o26bo3b2o32bo23b2o2b2o26b2o9bo21b2o3bo
25b2o5b2o31bo129bo24bo36bobo21bobo29b2o30bobo37b2o24bo64b2o37b2o28bo
26b3o3bo23b2o29bo2bo5bo23bo30bo2bo2b2o33b2o439bobo2bo30b2o127bo124b2o
30b2o130bo23bobo29bobo31b2o36b2o55bo132b2o25b2o5b3o55bo3b2o32bo30bobo
24b2o6b2o31bo31bo122bo30bo32bo94bo26bo31bo2bo3bo24b2o31b2o4bobo27bo58b
obo3b2o88bo4b2o89b2o$621b2o32bo30b2o30b2o31bo33bobo37bo19bobo2b2o25bo
33b2o3b2o29bo31bo35b2o22b2o62b3o4b2o21b2o30bobo30bobo6bo28bo2bo22bobo
6b3o24b2o30bo30b2o29b2o30bo61b2o29b2o31b2o2b2o33bo2bo29b2o21b2o4b2o24b
o5b2o90b2o29bo128bo94bobo31b2o3bo26b2o28bo33b2ob3o58b2o29b2o63bobo29bo
bo60b2o28b2o30bo32bobo29bobo29bobo33b2o3bo26b2o25bobo34b2o29bo3b3o21b
2o36bobo23bo2bo4bo61bobo25b2o4bo31bo25bo6b2o31b2o30b2o118b3o2bo30bo62b
o90bo32b2o30bo4b2o24bo2bo3bo24b3ob2o59bo3b2o25b3o3bo25b3o29bo3b2o32bo
28b2o28bo4b2o$621bobo62bobo29bobo29b2o33bo60bo3bobo25b3o30bo4bobo27b2o
30b2o35bobo21bobo31b2o28bo62bo2b2o28b2o5b2o28bo2bo21bobo7bo21b2o2b2o
62bobo28bobo30bo28bo65b3o33bo33b2o2b2o25bo2bo21bo3b2o25b3o2b2o25b2o30b
2o31bobo28bobo30b2o30b2o30b2o2b2o26bobo28b2o31b2o30b2o32b2o29bobo27bob
o32bo2bo26b2o31bobo28bobo30b2o30bobo29bobo28b2o2b2o26bobo28bobo29b3o
31b2o30b2o30bo33bobo29bobo26bobo34bo28bobo2bo23bo32bo4bo26bobo5bo60bo
27bobo59bobo8bo30bobo29bobo23b3o124bo60b3ob2o33b3o25b2o27bo64bobob2o
26bobo32bobo64bo29b2o57bo5bo30b2o28bobo27bobob2o$558bo32b2o2b2o153bobo
127bo28bobo34bobo29bobo34bo23bo33bobo28bo30b3o31bobo34bobo28b2o2b3o17b
2o9bo20bobo3bo61bo30bo60b2o65bo73bobo24bo2bo21bobo3bo27bo3bo24b2o30bob
o30b2o30bo2b3o25bo2bo28bobo29bobob2o26bobo29bobo29bo2bo94b2o28b2o2b3o
26bobo3bo24bobo31bo3b3o23bobo2b3o25bobo31bo31bo28bobob2o27bo31bobo31bo
129bo30b2o28b2o2b2o27b3o29bo2bo2bo23b3o28bobo31bo29b2o2b2o60bo35b2o24b
2o98bo126bo64bobo28b2o2bo27bobo28b3o61b2o3bo26bo130bobo27b3o58b3o2bobo
27bo30b2o3bo$557bobo32bob2o313b2o31b2o129bo61bo33bo71bo52b2o157bobo65b
o72bo27b2o23b2o30b2o61b2o65bo28b2o29b2o30b2o4bo25b2o32bo29bo2bo128bo
28b2o30bo31b2o3bo26bo3bo27bo94b2o4bo25b2o32bo2b3o26b2o32b2o30b3o25b2o
99b2o28bo32b2o29bo29bo62b2ob2o97bobo119b3o2bo125bo31b3o60bo2bo2bo26bo
30bo256bo$557bobo29b3o4bo344bo2bo191bo105bo567bo156b2o29b2o130bo97bo
30bo25b2o31b2o33b3o60b3o31bo62bobo29bo27bobo64bo35bo189bo96bo153b2o31b
o160bobo62bo156b3o2bo94bo$558bo2b3o25bo352bobo679b2o692bobo32bo62bo34b
o61bo32bo26bo65b2o63b2o61b2o348bobo2b2o25bobo2b2o156bo224b2o$561bo381b
o680bobo691bo35bo62bo221bobo62bobo60bobo348b2ob2o27b2ob2o382bobo$562bo
1061bo1079bo62bo355bo31bo!

hotdogPi
Posts: 1615
Joined: August 12th, 2020, 8:22 pm

Re: Pattern viewer for forum threads

Post by hotdogPi » January 31st, 2022, 3:03 pm

I'm seeing the same thing.
User:HotdogPi/My discoveries

Periods discovered: 5-16,⑱,⑳G,㉑G,㉒㉔㉕,㉗-㉛,㉜SG,㉞㉟㊱㊳㊵㊷㊹㊺㊽㊿,54G,55G,56,57G,60,62-66,68,70,73,74S,75,76S,80,84,88,90,96
100,02S,06,08,10,12,14G,16,17G,20,26G,28,38,47,48,54,56,72,74,80,92,96S
217,486,576

S: SKOP
G: gun

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » February 1st, 2022, 1:19 pm

dvgrn wrote:
January 31st, 2022, 2:04 pm
A new display issue just came up that I've never seen before -- possibly a new bug, possibly involving LifeHistory?

See this post. If I open that pattern, it looks as if it's being displayed in some kind of limited-height bounded grid, but I don't see why it would do that.
This wasn't a bug it was a feature.
When a pattern escapes the original grid LifeViewer historically would double the width and height of the grid together. When the maximum grid size was then reached LifeViewer would draw gray around the pattern to show the grid extent.
Recently I improved the growth so LifeViewer can double the width or height of the grid independently. Unfortunately no one told the gray drawing routine about this improvement so as soon as the maximum with or height is reached it triggers drawing.
As a workaround for now LifeViewer will only draw the gray surround if both the maximum width and height are reached. At some stage I'll fix it properly.
dvgrn wrote:
January 31st, 2022, 2:04 pm
Then, when I run to T=100 and then zoom far out and far in a few times, I find that zoom levels of -1.0 and below cause spurious red spots to appear above the actual patterns. These spots disappear as soon as I zoom in closer than -1.0, and re-appear again when I zoom out.
OK this was a bug. It's fixed - thanks for reporting!

User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » February 2nd, 2022, 10:48 am

Does far corners/edges currently only support outer-totalistic?

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » February 2nd, 2022, 12:24 pm

muzik wrote:
February 2nd, 2022, 10:48 am
Does far corners/edges currently only support outer-totalistic?
Yes

AlbertArmStain
Posts: 1258
Joined: January 28th, 2022, 7:18 pm
Location: Planet Z

Re: Pattern viewer for forum threads

Post by AlbertArmStain » February 4th, 2022, 7:17 pm

Trackloop multiplies the loop number by 10

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ TRACKLOOP 4 1/4 1/4 ]]

User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » February 5th, 2022, 12:45 pm

AlbertArmStain wrote:
February 4th, 2022, 7:17 pm
Trackloop multiplies the loop number by 10

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ TRACKLOOP 4 1/4 1/4 ]]
Isn't that so gridmajor doesn't jump?

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ GRID THEME Mono TRACKLOOP 4 1/4 1/4 GPS 20 ]]
It scaling to accommodate changes in it certainly implies so:

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ GRID GRIDMAJOR 9 THEME Mono TRACKLOOP 4 1/4 1/4 GPS 20 ]]
That being said, it still seems to be multiplied by 10 even for themes which don't have a gridmajor value of 10, meaning it maybe only changes for manually-specified gridmajor values and otherwise defaults to 10 even if a theme has a different value:

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ GRID THEME MCell TRACKLOOP 4 1/4 1/4 GPS 20 ]]

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ GRID THEME Catagolue TRACKLOOP 4 1/4 1/4 GPS 20 ]]

Code: Select all

x = 3, y = 3, rule = B3/S23
bob$2bo$3o!
[[ GRID THEME Caterer TRACKLOOP 4 1/4 1/4 GPS 20 ]]
Since 1 and 5 are factors of 10, this doesn't produce any noticeable jumps, so you can only really tell from the T counter.

User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » February 8th, 2022, 10:16 am

I've been considering splitting the LifeViewer article on the wiki up into smaller articles for a while now, given its particularly large size. Would you be fine with this as the creator and writer of most of the article?

I'm thinking this is how it'd be split:
- LifeViewer: basic features overview like with other pages on programs
- Tutorials/LifeViewer: details how to use LifeViewer, its menus, and other functionalities like graphs and themes
- Tutorials/LifeViewer scripting: details script commands that can be used with LifeViewer

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » February 8th, 2022, 3:30 pm

muzik wrote:
February 8th, 2022, 10:16 am
I've been considering splitting the LifeViewer article on the wiki up into smaller articles for a while now, given its particularly large size. Would you be fine with this as the creator and writer of most of the article?

I'm thinking this is how it'd be split:
- LifeViewer: basic features overview like with other pages on programs
- Tutorials/LifeViewer: details how to use LifeViewer, its menus, and other functionalities like graphs and themes
- Tutorials/LifeViewer scripting: details script commands that can be used with LifeViewer
Sure, sounds good!

bprentice
Posts: 920
Joined: September 10th, 2009, 6:20 pm
Location: Coos Bay, Oregon

Re: Pattern viewer for forum threads

Post by bprentice » February 11th, 2022, 3:15 pm

LifeViewer displays SHOW PATTERN ERROR when a pattern references a rule that is not in the LifeWiki data base and SHOW IN VIEWER after the rule is entered into the data base. I have noticed that sometimes when working in the forum and running patterns in LifeViewer, SHOW PATTERN ERROR is displayed when the referenced rule is in the data base. Closing conwaylife.com and reopening it corrects the problem.

Can you think of anything that might cause this?

Brian Prentice

User avatar
dvgrn
Moderator
Posts: 10670
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Pattern viewer for forum threads

Post by dvgrn » February 11th, 2022, 5:21 pm

bprentice wrote:
February 11th, 2022, 3:15 pm
LifeViewer displays SHOW PATTERN ERROR when a pattern references a rule that is not in the LifeWiki data base and SHOW IN VIEWER after the rule is entered into the data base. I have noticed that sometimes when working in the forum and running patterns in LifeViewer, SHOW PATTERN ERROR is displayed when the referenced rule is in the data base. Closing conwaylife.com and reopening it corrects the problem.

Can you think of anything that might cause this?
That sounds like it might be consistent with LifeViewer's rule-caching feature. (?)
rowett wrote:
November 22nd, 2019, 1:04 pm
If the pattern does not use a natively supported rule then LifeViewer makes an asynchronous request to download the rule from the LifeWiki repository. If there are further requests for the same rule then only the first one queries the repository and the remainder get notified when the first request returns as to whether the rule is valid.

Valid rules are cached so when "Show in Viewer" is clicked the rule is local and immediately available. The cache disappears if you navigate to a different page.

User avatar
Nathaniel
Site Admin
Posts: 862
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Pattern viewer for forum threads

Post by Nathaniel » February 11th, 2022, 10:38 pm

dvgrn wrote:
February 11th, 2022, 5:21 pm
That sounds like it might be consistent with LifeViewer's rule-caching feature. (?)
It might be that, combined with the fact that lately LifeWiki has been tossing out database connection errors every now and then. So if LifeViewer makes a request for a rule, but LifeWiki responds with "sorry, I can't connect to the database right now", then LifeViewer thinks that rule doesn't exist and caches that non-existence.

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » February 12th, 2022, 1:27 pm

Nathaniel wrote:
February 11th, 2022, 10:38 pm
So if LifeViewer makes a request for a rule, but LifeWiki responds with "sorry, I can't connect to the database right now", then LifeViewer thinks that rule doesn't exist and caches that non-existence.
True, but the LifeViewer cache is only for the current page. So if you refresh the page it should try again.

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Pattern viewer for forum threads

Post by GUYTU6J » February 12th, 2022, 1:32 pm

Moosey wrote:
February 10th, 2022, 9:18 am
...

Code: Select all

x = 316, y = 3, rule = B2cei3-eik5en6k7e/S12-c3er4t5e6i7e8
bo$o313b2o$bo!
Go to generation 8791 and advance by 1 ticks, and the leftmost wickstretchers die instantly.
Screenshot_20220213_012515.jpg
Screenshot_20220213_012515.jpg (864.46 KiB) Viewed 728 times
If this is because they hit the boundary and are killed by LifeViewer, then why isn't it displayed as a border between black background and gray surroundings, as the viewer did previously (see dvgrn's post above)?

User avatar
rowett
Moderator
Posts: 3815
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » February 12th, 2022, 1:56 pm

GUYTU6J wrote:
February 12th, 2022, 1:32 pm
Moosey wrote:
February 10th, 2022, 9:18 am
...

Code: Select all

x = 316, y = 3, rule = B2cei3-eik5en6k7e/S12-c3er4t5e6i7e8
bo$o313b2o$bo!
Go to generation 8791 and advance by 1 ticks, and the leftmost wickstretchers die instantly.
Screenshot_20220213_012515.jpg
If this is because they hit the boundary and are killed by LifeViewer
Yes.
GUYTU6J wrote:
February 12th, 2022, 1:32 pm
then why isn't it displayed as a border between black background and gray surroundings, as the viewer did previously (see dvgrn's post above)?
As I wrote above: "At some stage I'll fix it properly.". I've not had time to do so yet.

User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » February 20th, 2022, 8:26 am

Can the current speed be shown on the slider when "Go To Gen"/Identify are in use?

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Pattern viewer for forum threads

Post by GUYTU6J » February 20th, 2022, 10:31 am

Not sure if on topic, but the LifeViewer plugin used in https://conwaylife.com/ref/lifepage is pretty outdated, as you can see when clicking on a pattern here to launch such a viewer. How can it be updated?

User avatar
dvgrn
Moderator
Posts: 10670
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Pattern viewer for forum threads

Post by dvgrn » February 20th, 2022, 11:10 am

GUYTU6J wrote:
February 20th, 2022, 10:31 am
Not sure if on topic, but the LifeViewer plugin used in https://conwaylife.com/ref/lifepage is pretty outdated, as you can see when clicking on a pattern here to launch such a viewer. How can it be updated?
Yikes, Build 307, and we're all the way up to Build 700 now.

On the other hand, Build 307 works fine to display all those patterns. What would be the actual use case for updating it?

If I remember right, the process would be to update lv-plugin.js in this GitHub folder, and then let Nathaniel know to propagate the changes to the /ref folder on the server. I've done the first, but not the second yet.

User avatar
Nathaniel
Site Admin
Posts: 862
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Pattern viewer for forum threads

Post by Nathaniel » February 20th, 2022, 6:01 pm

dvgrn wrote:
February 20th, 2022, 11:10 am
If I remember right, the process would be to update lv-plugin.js in this GitHub folder, and then let Nathaniel know to propagate the changes to the /ref folder on the server. I've done the first, but not the second yet.
I forget -- is there a (good) reason for having conwaylife.com/ref point to its own version of LV, rather than the version used by LifeWiki (at https://conwaylife.com/js/lv-plugin.js)?

Post Reply