Yes at the moment it's using one of the internal clipboards. I may change that in the future.
Pattern viewer for forum threads
Re: Pattern viewer for forum threads
Re: Pattern viewer for forum threads
-
lemon41625
- Posts: 370
- Joined: January 24th, 2020, 7:39 am
- Location: 小红点 (if you know where that is)
Re: Pattern viewer for forum threads
Code: Select all
x = 0, y = 0, rule = R2,C2,S24-36,B20-31,NW1232124642369632464212321
b4o$o4bo$o4bo$o4bo!Code: Select all
x = 0, y = 0, rule = R2,C2,S24-36,B20-31,NG
b4o$o4bo$o4bo$o4bo!Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...
- confocaloid
- Posts: 4640
- Joined: February 8th, 2022, 3:15 pm
- Location: https://catagolue.hatsya.com/census/b3s234c/C4_4/xp62
Re: Pattern viewer for forum threads
The spaceship seems to work (both in Golly and in LifeViewer) if you use two digits per cell weight (i.e. insert '0' before every digit):
Code: Select all
x = 6, y = 4, rule = R2,C0,S24-36,B20-31,NW01020302010204060402030609060302040604020102030201
b4o$o4bo$o4bo$o4bo!
lemon41625 wrote: ↑June 15th, 2024, 5:59 amThis ship should work as below but doesn't.Code: Select all
x = 0, y = 0, rule = R2,C2,S24-36,B20-31,NW1232124642369632464212321 b4o$o4bo$o4bo$o4bo!
Code: Select all
x = 0, y = 0, rule = R2,C2,S24-36,B20-31,NG b4o$o4bo$o4bo$o4bo!
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.
Re: Pattern viewer for forum threads
Here is the documentation for LifeViewer and Golly.lemon41625 wrote: ↑June 15th, 2024, 5:59 amThis ship should work as below but doesn't.
Code: Select all
x = 0, y = 0, rule = R2,C2,S24-36,B20-31,NG b4o$o4bo$o4bo$o4bo!
- PHPBB12345
- Posts: 1124
- Joined: August 5th, 2015, 11:55 pm
- Contact:
Re: Pattern viewer for forum threads
Code: Select all
#C [[ "&<>&<>&lt;&gt;" ]]
x=0,y=0,rule=B3/S23
o!-
unname4798
- Posts: 1201
- Joined: July 15th, 2023, 10:27 am
- Location: On the highest skyscraper
Re: Pattern viewer for forum threads
That is not a bug.PHPBB12345 wrote: ↑June 17th, 2024, 9:51 pmHere is HTML entities related bug, test pattern:Expected:Code: Select all
#C [[ "&<>&<>&lt;&gt;" ]] x=0,y=0,rule=B3/S23 o!
Expected.png
Actual in LifeViewer build 1148:
Actual in LifeViewer 1148.png
Status: none.
Companies: NOT (Nihonium Orange Team)
- squareroot12621
- Posts: 682
- Joined: March 23rd, 2022, 4:53 pm
Re: Pattern viewer for forum threads
(In fact, they shouldn't be converted at all.)
Re: Pattern viewer for forum threads
It's more complex than that. Here on the forums the string:squareroot12621 wrote: ↑June 18th, 2024, 8:13 amIt is a bug—the &lt; and &gt; shouldn't be doubly converted into < and >.
(In fact, they shouldn't be converted at all.)
"&<>&<>&lt;&gt;"
is converted by the forum software into:
"&<>&amp;&lt;&gt;&amp;lt;&amp;gt;"
Whereas the same string on the LifeViewer home page is not changed.
So the current algo that deals with HTML entities is producing different results for the forum vs LifeViewer home page.
Based on that I'm proposing recursively substituting HTML entities until they're all gone. I don't really see a valid reason why you'd want LifeViewer to display a raw one anyway.
- PHPBB12345
- Posts: 1124
- Joined: August 5th, 2015, 11:55 pm
- Contact:
Re: Pattern viewer for forum threads
Re: Pattern viewer for forum threads
Code: Select all
x = 4, y = 2, rule = B01245/S0125
2o$b3o!Code: Select all
x = 4, y = 2, rule = B3678/S34678
2o$b3o!Code: Select all
x = 68, y = 9, rule = 23/34/128
4.sW.sT3.sK.sH3.rW.rT3.rK.rH3.qW.qT3.qK.qH3.pW.pT3.pK.pH3.W.T3.K.H$3.
sXtAsUsTsU.sLsMsIsHsI.rXsArUrTrU.rLrMrIrHrI.qXrAqUqTqU.qLqMqIqHqI.pXqA
pUpTpU.pLpMpIpHpI.XpAUTU.LMIHI.3A$2.tBtD2tA2sVsNsP2sM2sJsBsD2sA2rVrNrP
2rM2rJrBrD2rA2qVqNqP2qM2qJqBqD2qA2pVpNpP2pM2pJpBpD2pA2VNP2M2JBD2A$2.tC
.2tDsUsXsOsT2sPsIsLsCsH2sDrUrXrOrT2rPrIrLrCrH2rDqUqXqOqT2qPqIqLqCqH2qD
pUpXpOpT2pPpIpLpCpH2pDUXOT2PILCH2D2A$4.tFtDtBsXsVsTsRsPsNsLsJsHsFsDsB
rXrVrTrRrPrNrLrJrHrFrDrBqXqVqTqRqPqNqLqJqHqFqDqBpXpVpTpRpPpNpLpJpHpFpD
pBXVTRPNLJHFDBA$3.tCtFsUtB2sVsOsRsIsN2sJsCsFrUsB2rVrOrRrIrN2rJrCrFqUrB
2qVqOqRqIqN2qJqCqFpUqB2pVpOpRpIpN2pJpCpFUpB2VORIN2JCFABA$.2tG2tDsTsV
2sS2sPsHsJ2sG2sDrTrV2rS2rPrHrJ2rG2rDqTqV2qS2qPqHqJ2qG2qDpTpV2pS2pPpHpJ
2pG2pDTV2S2PHJ2G2D2A$tFtGtCtBtC.sRsSsOsNsO.sFsGsCsBsC.rRrSrOrNrO.rFrG
rCrBrC.qRqSqOqNqO.qFqGqCqBqC.pRpSpOpNpO.pFpGpCpBpC.RSONO.FGCBC$.tE.tB
3.sQ.sN3.sE.sB3.rQ.rN3.rE.rB3.qQ.qN3.qE.qB3.pQ.pN3.pE.pB3.Q.N3.E.B!
[[ AUTOSTART AUTOFIT ]]Re: Pattern viewer for forum threads
Code: Select all
x = 1, y = 1, rule = B/S0
o!
[[ AUTOIDENTIFY ]]Code: Select all
x = 1, y = 1, rule = B12345678/S012345678
o!Re: Pattern viewer for forum threads
Fixed in build 1152. Thanks for reporting!
- PHPBB12345
- Posts: 1124
- Joined: August 5th, 2015, 11:55 pm
- Contact:
Re: Pattern viewer for forum threads
Code: Select all
case ViewConstants.pasteModeZero:
result = 0;
break;
case ViewConstants.pasteModeCopy:
result = source;
break;
case ViewConstants.pasteModeDest:
result = dest;
break;
case ViewConstants.pasteModeSourceOver:
if (this.engine.isPCA) {
result = source | dest;
} else {
result = source == 0 ? dest : source;
}
break;
case ViewConstants.pasteModeDestOver:
if (this.engine.isPCA) {
result = source | dest;
} else {
result = dest == 0 ? source : dest;
}
break;
case ViewConstants.pasteModeSourceIn:
if (this.engine.isPCA) {
result = source & dest;
} else {
result = dest == 0 ? 0 : source;
}
break;
case ViewConstants.pasteModeDestIn:
if (this.engine.isPCA) {
result = source & dest;
} else {
result = source == 0 ? 0 : dest;
}
break;
case ViewConstants.pasteModeSourceOut:
if (this.engine.isPCA) {
result = source & (numStates - source);
} else {
result = dest == 0 ? source : 0;
}
break;
case ViewConstants.pasteModeDestOut:
if (this.engine.isPCA) {
result = dest & (numStates - source);
} else {
result = source == 0 ? dest : 0;
}
break;
case ViewConstants.pasteModeSourceAtop:
if (this.engine.isPCA) {
result = dest;
} else {
result = dest == 0 ? 0 : source == 0 ? dest : source;
}
break;
case ViewConstants.pasteModeDestAtop:
if (this.engine.isPCA) {
result = source;
} else {
result = source == 0 ? 0 : dest == 0 ? source : dest;
}
break;
case ViewConstants.pasteModeXor:
result = source ^ dest;
if (this.engine.isPCA && source != 0 && dest != 0) {
result = 0;
}
break;
Re: Pattern viewer for forum threads
Code: Select all
#C [[ ICONS ]]
x = 2, y = 2, rule = WangTiler11
A$2F!Code: Select all
#C [[ ICONS AUTOSTART GPS 8 ]]
x = 74, y = 47, rule = AnimatedPixelArt
pJuOpJuOpJuOpJuOpJuOpJuOpJuO6.pJBpJBpJBpJBpJBpJBpJB6.pJBpJBpJBpJBpJBpJ
BpJB6.pJBpJBpJBpJBpJBpJBpJB$uPuQuPuQuPuQuPuQuPuQuPuQuPuQ6.uPuQuPuQuPuQ
uPuQuPuQuPuQuPuQ6.uPBuPBuPBuPBuPBuPBuPB6.14B$pJuOKtLKtLKtLKtLKtLpJuO
6.pJBK.K.K.K.K.pJB6.pJBK.K.K.K.K.pJB6.pJBK.K.K.K.K.pJB$uPuQ10tLuPuQ6.
uPuQ10tLuPuQ6.uPBtL.tL.tL.tL.tL.uPB6.2B10.2B$p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2xXyAxXyAxWxX2tX2tO2tX13.6tL2tX4tLtMtL$6.KtLNtPpIuJKtLKtL11.WtXN
tLWtXWtXsVyAsVyAWtXWtXKtOWtX13.KtLKtLKtLWtXKtLKtLKtL$6.4tLuMuJtLtV2tL
11.2tXtOtL4tXxWxXxWxX4tXtLtO2tX13.6tL2tX6tL$27.WtXWtXNtLWtXWtXWtXWtXK
tOWtXWtX13.KtLKtLWtXKtLWtXKtLKtL$27.4tXtOtL8tXtLtO4tX13.4tL2tX2tL2tX
4tL$27.KtLWtXWtXpWuUpWuUpTuXpTuXWtXWtXKtL13.KtLWtXKtLKtLKtLWtXKtL$27.
2tL4tX8uU4tX2tL13.2tL2tW2tM2tL2tM2tW2tL$27.KtLKtLWtXWtXWtXWtXWtXWtXKtL
KtL13.VtWLtMKtLKtLKtLLtMVtW$27.4tL12tX4tL13.2tWtL2tM3tLtM2tLtM2tW!Re: Pattern viewer for forum threads
Re: Pattern viewer for forum threads
No. LifeViewer renders the cells in the respective lattice grid of the CA. Adding default icons are unnecessary.
Re: Pattern viewer for forum threads
The current plan is to only support Icons on RuleLoader rules since in this case the icons can be used to represent useful extra information.
Re: Pattern viewer for forum threads
Code: Select all
x = 3, y = 2, rule = TriLife-B4S456
BCA$.2C!Also I think that a default icon set for PCA rules would be useful to make it much more clear what states represent what directions, like is shown in the research papers Brian based his ruletables on.
Re: Pattern viewer for forum threads
I'm not interested in legacy non-square rules on a square grid. If someone wants to convert the rules to something that LifeViewer natively supports that's great.muzik wrote: ↑July 3rd, 2024, 11:31 amEmulated triangular rules don't appear to be using the triangular icon set assigned to them by Golly. They don't appear to be defined in the rule tree so I'm not sure how Golly figures out that they should be assigned these icons, but LifeViewer should follow I'd assume.
I've added some PCA icons.
Code: Select all
#C [[ ICONS ]]
x = 5, y = 5, rule = 2PCA4,0,4,8,3,1,10,6,11,2,9,5,13,12,14,7,15:T9,9
3.A$HOCO$.IOF$.OLOB$.D!
Re: Pattern viewer for forum threads
Code: Select all
x = 14, y = 7, rule = 2PCA4,0,4,8,3,1,10,6,7,2,9,5,11,12,13,14,15
B$B$B10.3B$B10.3B$B10.3B$B$B!
[[ ICONS ZOOM 32 X -30 STARTFROM 32 ]]Code: Select all
x = 13, y = 13, rule = 2PCA4,0,2,4,12,8,5,9,7,1,6,10,11,3,13,14,15
4.A3.B3.C4$D3.E3.F3.G4$H3.I3.J3.K4$L3.M3.N3.O!
[[ ICONS THEME Book ]]Re: Pattern viewer for forum threads
This appears to be running upside-down now, which is also the case for desktop Golly but not on mobile. Was there a recent fix that revealed that all such previous asymmetric neighbourhoods were being handled upside-down incorrectly?muzik wrote: ↑February 25th, 2024, 6:22 pmCode: Select all
x = 1, y = 1, rule = R2,C2,S0-5,B1,3,5,N@0003e0 o! [[ AUTOFIT ]]
----
Would it be possible to make period maps for hexagonal grid oscillators use offset squares? Having highly symmetric stuff get distorted in the map is something I find irritating.
Code: Select all
x = 15, y = 23, rule = B2o3-o4-m56/S2m3o4-o56H
b2o$o3bo$b4o$2bobo$3b2o14$10b2o$10bobo$10b4o$10bo3bo$12b2o!Code: Select all
x = 14, y = 3, rule = B2o4-p56/S2p34-o56H
ob4ob4obo$14o$bob4ob4obo!Code: Select all
x = 5, y = 5, rule = R1,C2,S2-3,6-9,11-15,B5,10-11,14-15,NW410104041H
3bo$ob3o$3o$bobo$b3o!Code: Select all
x = 7, y = 12, rule = R2,C2,S3,20-36,B13,21,26,33,43,NW0001000000010a0a0100000a000a0000010a0a010000000100H
o$2o$2o$4bo$2bo$3bobo2$3bo$2b2ob2o$2b4o$3b2o$4bo!Code: Select all
x = 25, y = 25, rule = B2o46/S2o46H
b3o$o4bo$7o$obo2bobo$bob3obo2$5bo6$7b3o$8b2o$8b3o$7b6o$8b5o$2o7bo2bo7b
2o$o21bo$4obo12bob4o$2bobo15bobo$bobobo14bobobo$2bob2o15b2obo$3bobobo
12bobobo$5b3o13b3o!Re: Pattern viewer for forum threads
Yes it was fixed in LifeViewer build 1132 and Golly 4.3.
Re: Pattern viewer for forum threads
Code: Select all
x = 20, y = 20, rule = 2PCA4,0,4,8,3,1,10,6,7,2,9,5,11,12,13,14,15:T20+5,20
20O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O
$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$O18.O$20O!
[[ ICONS GRID THEME Caterer ]]Code: Select all
x = 5, y = 6, rule = Langtons-Ant
2.2A$.A.H$A3.A$A3.A$.F.A$.2A!
[[ ICONS ZOOM 32 ]]Code: Select all
x = 16, y = 16, rule = Langtons-Ant
16A$16A$16A$16A$16A$16A$16A$16A$16A$16A$16A$16A$16A$16A$16A$16A!
[[ ICONS ]]Re: Pattern viewer for forum threads
Done. Note that bounded grids will display as square but I'm not planning to fix this since bounded grids are problematic for non-square neighbourhoods anyway.