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: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

AUTOIDENTIFY appears to suppress the display of SHOWGENSTATS for some reason until identification either completes or fails. This does not occur for other commands that display information.

Code: Select all

x = 54, y = 2, rule = B2ae/S
bo48bobo$o49bo2bo!
[[ SHOWGENSTATS SHOWTIMING EXTENDEDTIMING SHOWINFOBAR ]]

Code: Select all

x = 54, y = 2, rule = B2ae/S
bo48bobo$o49bo2bo!
[[ SHOWGENSTATS SHOWTIMING EXTENDEDTIMING SHOWINFOBAR AUTOIDENTIFY ]]
Could rendering performance be improved here? Since Y-axis out-of-bounds has straight boundaries, we probably don't need to be rendering these as cells, and can instead use whatever system the square grid does. The performance dropoff increases considerably the further you scroll out of bounds until it fills the entire screen (unless you display as rectangles instead).

Code: Select all

x = 1, y = 1, rule = B/S0123LV
!
[[ MAXGRIDSIZE 9 Y -256 ZOOM 4 SHOWTIMING EXTENDEDTIMING ]]
confocaloid wrote: March 15th, 2025, 4:12 pmTangential, were the large-scale wiki changes discussed anywhere? It looks like some sort of editing campaign, I don't remember any discussion leading to it, and I can see more than one way how it is likely to lead to further problems.
I'm not sure I'm seeing anything qualifying for descriptors such as "large-scale" or "editing campaign" here.
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
R2INT
Posts: 816
Joined: July 2nd, 2024, 7:42 pm

Re: Pattern viewer for forum threads

Post by R2INT »

R2INT wrote: March 15th, 2025, 9:28 pm p216 loop oscillator:

Code: Select all

# [[ COLOR 1 255 255 255 COLOR 2 0 191 255 COLOR 3 0 0 255 COLOR DEAD 0 0 128 COLOR DEADRAMP 16 0 32 ]]
x = 176, y = 111, rule = 23/3/4LB
139.A$137.AB4A$135.A.2B3.CA$134.2A2B2A2.4A$135.B2CA5.ACAB$135.A.ABA4.
C.CBC$136.BC2.2A3C.A2CB$136.B2C2A.4A.B$138.B.A$124.C$123.A2.C26.A$122.
A2BA6.A18.4A$122.3A6.4A17.A2.B$130.B2.A19.B2C6.A.A$130.2CB30.A2$154.A
$131.A21.A.A6.2BA$130.A.A29.A2CA$163.3A$167.C$165.C$169.C$167.C2.A$168.
A3B$167.A2.B2A$144.A20.2A3B.B$106.C36.A.A18.A.AB3.2A$105.A2.C40.BAC2A
2.C3.C.ABA.AC2.C.2A$104.A2BA41.BAC2A2.C3.C.A2B.A5.CBA$104.3A57.A.AB.A
2.CA$166.AB6A$168.A$113.3ACB31.3ACB$113.3ACB31.3ACB4$27.A.3A$26.AB2C.
2A$25.2A4.4A$22.A.BA.C4.2BA$21.BAB.B3.C.2A$20.A2B2.3B2A2.BA$19.C2.A.A
.2A.2A2BA$21.C9.A2.C$17.C14.C12.B$19.C16.C6.B2CA$15.3A16.C9.4A$14.A2C
A18.3A6.A$14.2BA19.A2CA$8.A.A26.A2B$9.A2$18.A19.A$17.A.A17.A.A$11.B2C
$10.A2.B$9.4A$11.A3$5.B$4.3CB$3.2BCA.2A53.B$3.AC.3C2A20.A29.B2CA$2.3A
3.CA.2A17.A.A29.4A$2.3A4.A.ACB7.3A.BC36.A$.AC5.AB.2CB7.3A.BC$.2A2.3AC
A.B$.2A5BCBA$3.A2.3A$22.C.AB2A30.C.AB2A66.C.AB2A11.3A$22.C.AB2A30.C.A
B2A66.C.AB2A11.A2BA$137.A10.A2.C$136.4A9.C$135.B2CA$137.B13$165.3A$153.
A11.A2BA$119.A32.A.A11.A2.C$118.4A11.A24.2CB6.C$117.B2CA11.A.A23.B2.A
$119.B6.A2B30.4A$125.A2CA31.A$125.3A$123.C$125.C40.B$121.C42.B3CB.AB.
A$120.A2.C39.3A2.BA2CB2A$115.A2.A3BA40.A.2A.A.2A2B$113.2A2B2A2.2A20.A
18.2A2C5.A.2BA$113.3A3.C2A.A18.A.A17.A.2C3.A3.3A$112.2A7.2BA24.CB.3A7.
BCAC.C4AC2A$112.2A2C2.C2.2B.A23.CB.3A7.B2C2BA.A$114.AB4AB.B.BA.C3.C2.
2ACAB$121.2A2BA.C3.C2.2ACAB$142.A.A$143.A!
Construction of loop oscillators like this requires the rotation of large patterns. Because rotation of patterns using the Select feature is incorrect, building patterns like this is tedious. Could the rotate button be updated to correctly account for the triangular and hexagonal grids?
Range-2 INT
R2INT's Rule Collection

Travelling Ts has surpassed LeapLife in post count, but not yet in technology.
User avatar
LuveelVoom
Posts: 561
Joined: April 27th, 2022, 7:59 pm

Re: Pattern viewer for forum threads

Post by LuveelVoom »

Oh, let me put in a request related to this: doing manipulation on symmetric patterns is tedious, because you have to translate every object in the symmetry. Could we have some sort of symmetry option?
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Pattern viewer for forum threads

Post by confocaloid »

LuveelVoom wrote: March 15th, 2025, 9:35 pm Oh, let me put in a request related to this: doing manipulation on symmetric patterns is tedious, because you have to translate every object in the symmetry. Could we have some sort of symmetry option?
That may depend on what you mean, do you have in mind some specific workflow or specific UI interactions? Some kinds of manipulations may be easier to cover with Golly scripts.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

lemon41625 wrote: July 23rd, 2020, 8:30 pmR2 Cross INT

Code: Select all

x = 53, y = 95, rule = B/S012345678History
.3C3.2C4.3C3.3C3.C.C3.3C3.3C3.3C3.3C$.C.C4.C6.C5.C3.C.C3.C5.C7.C3.C.C
$.C.C4.C4.3C3.3C3.3C3.3C3.3C5.C3.3C$.C.C4.C4.C7.C5.C5.C3.C.C5.C3.C.C$
.3C3.3C3.3C3.3C5.C3.3C3.3C5.C3.3C2$2.D5.D5.D5.D5.D5.C5.C5.C5.C$2.D5.C
5.C5.C5.C5.D5.D5.D5.C$2D.2D.2D.2D.2D.CD.2D.CD.DC.CD.2C.DC.2C.DC.2C.2C
.2C.2C$2.D5.D5.D5.C5.C5.D5.C5.C5.C$2.D5.D5.D5.D5.D5.C5.C5.C5.C2$8.C5.
D5.C5.D5.D5.C5.D$8.D5.C5.C5.C5.D5.D5.C$6.2D.2D.2D.2D.2D.CD.DC.CD.2C.D
C.2C.2C.2C.2C$8.D5.C5.D5.D5.C5.D5.C$8.D5.D5.D5.C5.C5.C5.C2$14.C5.D5.D
5.C5.D$14.C5.C5.C5.D5.D$12.2D.2D.2D.CD.2C.CD.2C.DC.2C.2C$14.D5.D5.D5.
C5.C$14.D5.C5.D5.D5.C2$14.D5.D5.C5.C5.C$14.C5.C5.C5.D5.D$12.2D.DC.CD.
2D.DC.CD.DC.2C.2C.CD$14.D5.C5.D5.D5.C$14.D5.D5.D5.C5.C2$14.D5.C5.D5.D
5.C$14.C5.C5.C5.D5.D$12.2D.2D.2D.2D.CD.CD.2C.2C.2C.2C$14.D5.C5.D5.D5.
C$14.C5.D5.C5.C5.D2$14.C5.D5.D5.C5.D$14.D5.C5.C5.D5.C$12.2D.DC.CD.2D.
CD.2C.DC.2C.2C.CD$14.D5.D5.D5.C5.C$14.D5.C5.D5.D5.C2$14.C5.D5.C5.C5.D
$14.D5.C5.C5.D5.C$12.2D.2D.CD.DC.CD.CD.DC.CD.2C.2C$14.D5.D5.D5.C5.C$14.
C5.D5.D5.C5.D2$20.C5.C5.D$20.C5.C5.D$18.CD.2D.2D.2C.DC.2C$20.D5.D5.C$
20.D5.D5.C2$20.C5.D5.D$20.D5.C5.C$18.CD.DC.CD.DC.DC.CD$20.D5.C5.C$20.
D5.D5.C2$26.C$26.C$24.2D.2D$26.C$26.C2$26.C$26.C$24.CD.2D$26.C$26.D2$
26.C$26.C$24.CD.DC$26.D$26.D2$26.D$26.C$24.CD.DC$26.D$26.C2$26.C$26.C
$24.CD.2D$26.D$26.C2$26.C$26.D$24.CD.DC$26.D$26.C!
Use letters acehijnopqrtuvw

R2 Knight INT

Code: Select all

x = 47, y = 103, rule = LifeHistory
.2C5.3C4.3C4.C.C4.3C4.3C4.3C$2.C7.C6.C4.C.C4.C6.C8.C$2.C5.3C4.3C4.3C4.3C4.3C6.C$2.C5.C8.C6.C6.C4.C.C6.C$.3C4.3C4.3C6.C4.3C4.3C3$.D.D4.C.D4.C.C4.C.C4.D.D4.D.C4.C.C$C3.D2.C3.D2.C3.D2.C3.C2.D3.C2.D3.C2.D3.C2$D3.D2.D3.D2.D3.D2.D3.D2.C3.C2.C3.C2.C3.C$.D.D4.D.D4.D.D4.D.D4.C.C4.C.C4.C.C3$8.D.C4.C.D4.C.C4.D.C4.C.D$7.C3.D2.C3.C2.C3.D2.D3.D2.D3.C2$7.D3.D2.D3.D2.D3.C2.C3.C2.C3.C$8.D.D4.D.D4.D.D4.C.C4.C.C3$8.D.D4.C.D4.C.C4.D.C4.C.C$7.C3.C2.C3.D2.C3.D2.D3.C2.D3.D2$7.D3.D2.D3.C2.D3.D2.C3.D2.C3.C$8.D.D4.D.D4.D.C4.C.C4.C.C3$8.D.D4.D.C4.C.C4.C.D4.C.C$7.C3.D2.C3.D2.C3.D2.D3.C2.D3.C2$7.D3.C2.D3.C2.D3.D2.C3.D2.C3.D$8.D.D4.D.D4.C.D4.C.C4.C.C3$8.D.D4.D.C4.C.C4.C.D4.C.C$7.C3.D2.C3.D2.C3.D2.D3.C2.D3.C2$7.D3.D2.D3.D2.C3.D2.C3.C2.C3.C$8.D.C4.D.C4.D.D4.C.D4.C.D3$8.D.D4.D.C4.C.D4.C.D4.C.C$7.C3.D2.C3.D2.C3.C2.D3.C2.D3.C2$7.C3.D2.C3.D2.D3.C2.D3.C2.D3.C$8.D.D4.D.D4.D.D4.C.C4.C.C3$15.D.D4.C.D4.C.C$14.C3.C2.C3.C2.D3.D2$14.C3.D2.D3.D2.D3.C$15.D.D4.D.C4.C.C3$22.C.D$21.C3.C2$21.D3.D$22.C.D3$22.C.D$21.C3.D2$21.D3.C$22.D.C3$22.D.C$21.C3.D2$21.D3.C$22.C.D3$22.D.C$21.C3.D2$21.C3.C$22.D.D3$22.D.C$21.C3.D2$21.C3.D$22.D.C3$22.D.C$21.C3.C2$21.C3.D$22.D.D3$22.D.D$21.C3.C2$21.C3.C$22.D.D!
Letters used would be also be acehijnopqrtuvw. Some will need to be removed.
Not (currently?) related to LifeViewer, but these are now documented on the wiki accordingly: https://conwaylife.com/wiki/Higher-rang ... istic_rule
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

Performance tests with the following pattern, changing the neighbourhood type each time (range 50 for NG):

Code: Select all

x = 1, y = 1, rule = R500,C2,S,B1,NM
o!
[[ STARTFROM 1b ZOOM -2 ]]
Results:

WASM Engine off:
NF 0.3s / 3gps
N+ 1.5s / 0gps
NX 1.8s / 0gps
N* 2.8s / 0gps
N# 2.2s / 0gps
NB 3.3s / 0gps
ND 3.2s / 0gps
N2 3.0s / 0gps
NC 3.0s / 0gps
NN 0.5s / 2gps
NM 0.2s / 4gps
N3 1.8s / 0gps
NA 2.6s / 0gps
NH 2.6s / 0gps
NL 5.5s / 0gps
NG 0.5s / 2gps

WASM Engine on:
NF 0.3s / 3gps
N+ 1.3s / 0gps
NX 1.6s / 0gps
N* 2.1s / 0gps
N# 1.7s / 0gps
NB 2.6s / 0gps
ND 2.7s / 0gps
N2 2.1s / 0gps
NC 2.1s / 0gps
NN 0.4s / 2gps
NM 0.3s / 3gps
N3 1.3s / 0gps
NA 1.7s / 0gps
NH 1.8s / 0gps
NL 4.4s / 0gps
NG 0.4s / 2gps

Most of the GPS values are displayed as 0. When the value is low enough, could more precision be displayed instead of rounding down?

Probably worth noting is that, instead of being immediately rejected due to having too high of a size for this specific type of neighbourhood, we instead get an out-of-memory error displayed if we try to run this: (changed code to quote since the error appears even if you don't open a viewer)
x = 1, y = 1, rule = R500,C2,S,B1,NG
o!
[[ STARTFROM 1b ZOOM -2 ]]
Ranges such as 51 are rejected as expected (though a bit slower than I'd have anticipated - is it computing parts of the rule before realizing the range is excessive?)

Range-500 triangular also takes a big chunk of memory, as can be seen if you have Timing Details open. Not sure if this is actionable.

----

The hitbox, maps, etc. here are bigger than expected, but I assume this is due to whatever top-secret Identify refactoring is going on:

Code: Select all

x = 12, y = 14, rule = B3/S23
9bo$9bobo$9b2o5$5b2o$5b2o3$o$o$o!
[[ AUTOIDENTIFY ]]

Code: Select all

x = 12, y = 14, rule = R1,C2,S2-3,B3
9bo$9bobo$9b2o5$5b2o$5b2o3$o$o$o!
[[ AUTOIDENTIFY ]]
Identifying things also sometimes causes the viewer window to freeze before the period notice is properly legible:
frozennotice.png
frozennotice.png (26.86 KiB) Viewed 592 times
I've also noticed that going to Help > Info drops framerate considerably more than other help categories, but specifically only after fully identifying this:

Code: Select all

x = 54, y = 2, rule = B2ae/S
bo48bobo$o49bo2bo!
[[ SHOWTIMING EXTENDEDTIMING SHADER Basic THEME Mono ]]
EDIT: here's another out-of-memory trigger:

Code: Select all

x = 1, y = 1, rule = R500,C2,S,B1,NM
o!
[[ ZOOM -16 MAXGRIDSIZE 14 SHADER Basic THEME Mono AUTOIDENTIFY ]]
Run this, Select All, and do a 100%-density random fill, and you will see some strange gaps between some hexagonal cells.

Code: Select all

x = 1, y = 1, rule = B135/S0246H
o!
[[ STARTFROM 383 ZOOM 11.3 ]]
Here's how it looks for me on desktop:
hexagaps.png
hexagaps.png (161.85 KiB) Viewed 583 times
EDIT2: Lowest-period example of NaN in Identify so far:

Code: Select all

x = 46, y = 46, rule = B2ae3i/S
o$bo$2bo$3bo$4bo$5bo$6bo$7bo$8bo$9bo$10bo$11bo$12bo$13bo$14bo$15bo$16b
o$17bo$18bo$19bo$20bo$21bo$22bo$23bo$24bo$25bo$26bo$27bo$28bo$29bo$30b
o$31bo$32bo$33bo$34bo$35bo$36bo$37bo$38bo$39bo$40bo$41bo$42bo$43bo$44b
o$45bo!
[[ SHADER Basic THEME Mono ZOOM 8 ]]
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Pattern viewer for forum threads

Post by b-engine »

muzik wrote: March 16th, 2025, 7:42 am Run this, Select All, and do a 100%-density random fill, and you will see some strange gaps between some hexagonal cells.

Code: Select all

x = 1, y = 1, rule = B135/S0246H
o!
[[ STARTFROM 383 ZOOM 11.3 ]]
Here's how it looks for me on desktop:
hexagaps.png
This is a completely normal situation.

Code: Select all

x = 1, y = 1, rule = B135/S0246H
o!
[[ STARTFROM 383 ZOOM 11.3 COLOR ALIVE 0 0 0 COLOR DEAD 0 0 0 AGESTATES 20 ]]
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

b-engine wrote: March 16th, 2025, 9:07 am
muzik wrote: March 16th, 2025, 7:42 am Run this, Select All, and do a 100%-density random fill, and you will see some strange gaps between some hexagonal cells.

Code: Select all

x = 1, y = 1, rule = B135/S0246H
o!
[[ STARTFROM 383 ZOOM 11.3 ]]
Here's how it looks for me on desktop:
hexagaps.png
This is a completely normal situation.
How so? I don't see what's normal regarding these dark vertical lines.
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Pattern viewer for forum threads

Post by b-engine »

muzik wrote: March 16th, 2025, 9:11 am How so? I don't see what's normal regarding these dark vertical lines.
I don't see a single dark line, probably because of device.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

b-engine wrote: March 16th, 2025, 9:30 am
muzik wrote: March 16th, 2025, 9:11 am How so? I don't see what's normal regarding these dark vertical lines.
I don't see a single dark line, probably because of device.
There are many, which can be seen when zooming in on the attached image:
IMG_7266.jpeg
IMG_7266.jpeg (261.34 KiB) Viewed 558 times
----


For some reason, this p16777214 shuttle is incorrectly identified as p194 after 5.1 million generations.

Code: Select all

x = 52, y = 2, rule = B2ae/S
bo46bobo$o47bo2bo!
[[ SHOWGENSTATS SHOWTIMING EXTENDEDTIMING SHADER Basic THEME Mono ]]
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Pattern viewer for forum threads

Post by confocaloid »

A short note from a curious forum reader. Given that Identify appears to be under some refactoring in progress, it might be better to wait until it's announced before reporting potential issues/bugs related to it, to reduce clutter caused by double-reporting / reporting issues which are possibly already noticed and resolved.

The general idea here is that it would be nice to keep the forum thread discussion reasonably easy to follow and understand and otherwise participate for all interested people.
muzik wrote: March 16th, 2025, 7:42 am [...] The hitbox, maps, etc. here are bigger than expected, but I assume this is due to whatever top-secret Identify refactoring is going on: [...]
muzik wrote: March 16th, 2025, 9:36 am [...] For some reason, this p16777214 shuttle is incorrectly identified as p194 after 5.1 million generations. [...]
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
User avatar
rowett
Moderator
Posts: 4587
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett »

muzik wrote: March 15th, 2025, 8:33 pm AUTOIDENTIFY appears to suppress the display of SHOWGENSTATS for some reason until identification either completes or fails.
Fixed, thanks.
muzik wrote: March 15th, 2025, 8:33 pm Could rendering performance be improved here? Since Y-axis out-of-bounds has straight boundaries
No. Grid Lines may be enabled.
User avatar
rowett
Moderator
Posts: 4587
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett »

muzik wrote: March 16th, 2025, 7:42 am The hitbox, maps, etc. here are bigger than expected, but I assume this is due to whatever top-secret Identify refactoring is going on
Yes. There are still some minor changes to complete.
muzik wrote: March 16th, 2025, 7:42 am I've also noticed that going to Help > Info drops framerate considerably more than other help categories, but specifically only after fully identifying this:
Fixed, thanks.
User avatar
rowett
Moderator
Posts: 4587
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett »

muzik wrote: March 16th, 2025, 9:36 am For some reason, this p16777214 shuttle is incorrectly identified as p194 after 5.1 million generations.
Must be a hash collision since I get the same result using oscar in Golly.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

This is low priority compared to other things that are being implemented but one thing I use all the time in Golly that (to my knowledge) hasn't been implemented in LifeViewer yet is resizing existing selections. For desktop, this is achieved by holding Shift and clicking on the edge in question, whereas on touchscreen devices, simply touching and dragging the nearest edge works. Could similar functionality be implemented in LifeViewer so that I can edit patterns more easily without having to switch to mobile Golly for things (especially since the out-of-memory grid-clearing behaviour still happens after a while)?

As for benchmarking: not sure where else to look besides testing more high-period objects. Anything else in particular needing looked at? Will the WASM engine still be a toggleable option in the full release or is this only for testing?
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
LuveelVoom
Posts: 561
Joined: April 27th, 2022, 7:59 pm

Re: Pattern viewer for forum threads

Post by LuveelVoom »

muzik wrote: March 16th, 2025, 8:38 pm This is low priority compared to other things that are being implemented but one thing I use all the time in Golly that (to my knowledge) hasn't been implemented in LifeViewer yet is resizing existing selections. For desktop, this is achieved by holding Shift and clicking on the edge in question, whereas on touchscreen devices, simply touching and dragging the nearest edge works. Could similar functionality be implemented in LifeViewer so that I can edit patterns more easily without having to switch to mobile Golly for things (especially since the out-of-memory grid-clearing behaviour still happens after a while)?

As for benchmarking: not sure where else to look besides testing more high-period objects. Anything else in particular needing looked at? Will the WASM engine still be a toggleable option in the full release or is this only for testing?
I WAS ABOUT TO SUGGEST THIS :x
maybe another button at the top that, when clicked, sets you into "resize" mode?
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

This stress test completes in 77.3 seconds on iPad using LifeViewer Pro:

Code: Select all

x = 1, y = 1, rule = R500,C2,S,B1-2,NL
o!
[[ THEME Mono ZOOM -8 SHOWTIMING EXTENDEDTIMING MAXGRIDSIZE 14 STARTFROM 4b ]]
This loads in 7.3 seconds / 574955 gps, compared to 10.4 seconds / 415483 gps on the standard engine:

Code: Select all

x = 2, y = 2, rule = B3/S23
2o$2o!
[[ STARTFROM 4194304b ]]
General-range: takes 7.3 seconds / 570808 gps on the WASM engine compared to 7.8 seconds / 540155 gps on standard. Are bounding box based algorithms just better for iterating very small patterns over a long period of time?

Code: Select all

x = 2, y = 2, rule = R1,C2,S2-3,B3
2o$2o!
[[ STARTFROM 4194304b ]]
If the 4194304 limit is being removed for Identify, will it stay for Go To Gen, or not?

This can cause some identified values to be too long to display correctly:

Code: Select all

x = 1, y = 1, rule = R500,C2,S,B1,NM
o!
[[ ZOOM -16 MAXGRIDSIZE 14 SHADER Basic THEME Mono AUTOIDENTIFY ]]
IMG_7268.jpeg
IMG_7268.jpeg (404.9 KiB) Viewed 486 times
IMG_7289.jpeg
IMG_7289.jpeg (1.21 MiB) Viewed 486 times
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

rowett wrote: March 16th, 2025, 8:14 pm
muzik wrote: March 16th, 2025, 9:36 am For some reason, this p16777214 shuttle is incorrectly identified as p194 after 5.1 million generations.
Must be a hash collision since I get the same result using oscar in Golly.
Can also confirm. Is it possible to prevent this from happening, e.g. checking preceding or subsequent hashes for "matching" phases, using two hashing algorithms and cross-referencing to avoid false positives, or checking other pattern statistics when a match is found? I assume at least some of these are already done in Golly according to this post.

Unsure what is the cause of this, but specifically when using Identify in LifeViewer Pro on iPad, playback will sometimes freeze for around half a second at a time. This doesn't appear to be a memory issue since the EXTENDEDTIMING bar doesn't fill up at these points. I don't know if false positives are being detected but later debunked, or something else entirely.
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
rowett
Moderator
Posts: 4587
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett »

muzik wrote: March 17th, 2025, 8:57 am Can also confirm. Is it possible to prevent this from happening
Yes. I've improved the hashing algorithm.
muzik wrote: March 17th, 2025, 8:57 am Unsure what is the cause of this, but specifically when using Identify in LifeViewer Pro on iPad, playback will sometimes freeze for around half a second at a time.
Could be a number of things. Probably garbage collection. Try again with [[ NOSTEPBACK ]] and [[ NOGRAPH ]] and see if you still get the pauses.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

rowett wrote: March 17th, 2025, 9:44 am
muzik wrote: March 17th, 2025, 8:57 am Can also confirm. Is it possible to prevent this from happening
Yes. I've improved the hashing algorithm.
Can confirm that this now runs to completion:
IMG_7306.jpeg
IMG_7306.jpeg (406.24 KiB) Viewed 439 times
When viewing the table of periods or the cell period maps, something appears to be eating a lot of performance for unknown reasons. This doesn't happen for the frequency table or frequency map, and also doesn't happen for the results table.

Currently running the 5-state shuttle to see if it can be correctly identified.

Could the hash collision prevention also be added to oscar?
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Pattern viewer for forum threads

Post by confocaloid »

Sometimes "Identify" (for various oscillators posted on the forums) shows "NaN" and/or "Infinity" in some values. So far I was unable to reproduce this for any single chosen oscillator, it just shows some numbers the next time. However, it happens often enough and apparently for different oscillators, so that other people probably will notice/already noticed the same issue. The last time this happened was a few minutes ago, on the following oscillator, when viewing the forum thread page from which it's crossposted:
iNoMed wrote: March 17th, 2025, 7:34 am Here's a rather-peculiar p51 Pi hassler - partial originally found by CR116, originally completed by Sokwe using the JLS-LLS script (with a further reduction to 226 cells also by him) and reduced slightly by me to 208 cells using rlifesrc:

Code: Select all

x = 35, y = 46, rule = B3/S23
9b2o$8bo2bo2$11bo$9bobo4b2o8b2o$8bobo2b2o2bo8bobo2bo$8bo3bob2o12b4o$6b
obo9bo7bo$5bobo2b9o7bo3b4o$5bo2b2o4bo13b3o2bo$6bobo6b2o7b3obo2bo$5b2ob
o6b2o6bo2b2o3b2o$4bo3bob2o11b2o2b2o$5bobo2b2o$4b2ob2o2$33b2o$33bo$31bo
bo$19b2o10b2o$17bob2o$17bo2bo3$14bo2bo$14b2obo$2b2o10b2o$bobo$bo$2o2$
26b2ob2o$23b2o2bobo$6b2o2b2o11b2obo3bo$2b2o3b2o2bo6b2o6bob2o$3bo2bob3o
7b2o6bobo$bo2b3o13bo4b2o2bo$b4o3bo7b9o2bobo$8bo7bo9bobo$3b4o12b2obo3bo
$3bo2bobo8bo2b2o2bobo$7b2o8b2o4bobo$23bo2$23bo2bo$24b2o!
[...]
EDIT: the following might be reproducible enough (Build 1287; I clicked Run to see the oscillator evolving, then stopped it, pressed Space several times to step through, then attempted to do Identify and several times got the following nonsense):

Code: Select all

Cells: 402 | 812 | 600.8
Active cells: 0 | 0 | 0
Bounding box: 79 x 98 = 7742
Period: 100
Mod: 25
Heat: 194 | 698 | 429.1
Temperature: Infinity | 0
Volatility: NaN | NaN
hotdogPi wrote: March 17th, 2025, 1:05 pm p100 pi-heptomino hassler using Charity's p25 as a sparker

Code: Select all

x = 77, y = 96, rule = B3/S23
13b3o5b3o2$9b2o15b2o2$10bob2o9b2obo$14bo7bo$11bo13bo$10bo15bo$16bo3bo$
2bo7b2o4b2ob2o4b2o7bo$2bobo2bobo3b2o2bobo2b2o3bobo2bobo$6bo2bo4b2obobo
b2o4bo2bo$4bo10bobobobo10bo$o3bo5bo5bo3bo5bo5bo3bo$o4bo4b2o13b2o4bo4bo
$o10b2o11b2o10bo$8b2o3bo9bo3b2o$9b4o11b4o2$9b4o11b4o$8b2o3bo9bo3b2o$o
10b2o11b2o10bo$o4bo4b2o13b2o4bo4bo$o3bo5bo5bo3bo5bo5bo3bo$4bo10bobobob
o10bo$6bo2bo4b2obobob2o4bo2bo$2bobo2bobo3b2o2bobo2b2o3bobo2bobo$2bo7b
2o4b2ob2o4b2o7bo$16bo3bo$10bo15bo$11bo13bo$14bo7bo$10bob2o9b2obo2$9b2o
15b2o$29b3o$13b3o5b3o4bo2bo$18bo9b2o2bo$17bobo6b2o3b2o25bo$17bobo5bo2b
o28bobo$12bob2obob2o4bo2bo28bobo$12b2obobo3bo3bo2bo27b2obob2obo$17bob
2o5b2o3b2o22bo3bobob2o$16bo3bo7b2o2bo23b2obo$16b4o8bo2bo24bo3bo$19bo9b
3o25b4o$16b4o37bo$15bo41b4o$16b4o41bo$19bo37b4o$16b4o25b3o9bo$16bo3bo
24bo2bo8b4o$17bob2o23bo2b2o7bo3bo$12b2obobo3bo22b2o3b2o5b2obo$12bob2ob
ob2o27bo2bo3bo3bobob2o$17bobo28bo2bo4b2obob2obo$17bobo28bo2bo5bobo$18b
o25b2o3b2o6bobo$44bo2b2o9bo$45bo2bo4b3o5b3o$45b3o$49b2o15b2o2$50bob2o
9b2obo$54bo7bo$51bo13bo$50bo15bo$56bo3bo$42bo7b2o4b2ob2o4b2o7bo$42bobo
2bobo3b2o2bobo2b2o3bobo2bobo$46bo2bo4b2obobob2o4bo2bo$44bo10bobobobo
10bo$40bo3bo5bo5bo3bo5bo5bo3bo$40bo4bo4b2o13b2o4bo4bo$40bo10b2o11b2o
10bo$48b2o3bo9bo3b2o$49b4o11b4o2$49b4o11b4o$48b2o3bo9bo3b2o$40bo10b2o
11b2o10bo$40bo4bo4b2o13b2o4bo4bo$40bo3bo5bo5bo3bo5bo5bo3bo$44bo10bobob
obo10bo$46bo2bo4b2obobob2o4bo2bo$42bobo2bobo3b2o2bobo2b2o3bobo2bobo$
42bo7b2o4b2ob2o4b2o7bo$56bo3bo$50bo15bo$51bo13bo$54bo7bo$50bob2o9b2obo
2$49b2o15b2o2$53b3o5b3o!
[...]
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
User avatar
muzik
Posts: 6604
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik »

confocaloid wrote: March 17th, 2025, 1:19 pmEDIT: the following might be reproducible enough (Build 1287; I clicked Run to see the oscillator evolving, then stopped it, pressed Space several times to step through, then attempted to do Identify and several times got the following nonsense):
One thing I can reproduce, which I presume is related, is that identifying this from T=0 gets normal results for the period map, whereas stepping to T=1 and identifying will result in the creation of a much larger period map than expected.

Comparison as follows:
IMG_7318.jpeg
IMG_7318.jpeg (397.24 KiB) Viewed 417 times
IMG_7317.jpeg
IMG_7317.jpeg (278.88 KiB) Viewed 417 times
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Pattern viewer for forum threads

Post by confocaloid »

For people trying to reproduce that: try doing Identify two or more times in a row, without closing and reopening LifeViewer. It might happen from second time.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
WhiteHawk
Posts: 1386
Joined: July 10th, 2024, 5:34 pm

Re: Pattern viewer for forum threads

Post by WhiteHawk »

confocaloid wrote: March 17th, 2025, 2:13 pm For people trying to reproduce that: try doing Identify two or more times in a row, without closing and reopening LifeViewer. It might happen from second time.
I can confirm. Sometimes it also makes big weird boxes too (Having trouble reproducing at the moment)
Currently working to improve Life's guns and work on updating SKOPs and Isotropic rules most similar to B3/S23 to Life standards. Will get software to begin searches eventually.

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

Re: Pattern viewer for forum threads

Post by rowett »

confocaloid wrote: March 17th, 2025, 1:19 pm Sometimes "Identify" (for various oscillators posted on the forums) shows "NaN" and/or "Infinity" in some values.
Fixed in build 1288. Thanks for reporting!
Post Reply