rowett wrote: March 12th, 2025, 8:43 am
muzik wrote: March 12th, 2025, 6:15 am
How could we implement the input box and clipboard output box on a page on the LifeWiki, tied to a specific viewer embed?
Why would we want to?
I've been thinking of two things:
- having these on the LifeViewer wiki page under the main embed could make it more obvious to newer readers how the script commands work and such, and how they can be modified and the results previewed in real-time
- on the Known Bugs page, there are (and were) some issues with saving and loading patterns which can't be easily seen if the only thing you have is an embedded thumbnail
rowett wrote: March 12th, 2025, 8:43 ammuzik wrote: March 12th, 2025, 6:15 am
The following pages have script errors, with the last one also appearing to track in the wrong direction
Fixed, though I couldn't see script errors in triangular.html.
I intended to specify in said post that the error was not a script error but a loading error - the triangular [R]History example no longer works as it previously did.
There are also script errors on these pages:
https://lazyslug.com/lifeview/plugin/edges.html
https://lazyslug.com/lifeview/plugin/hexmap.html
https://lazyslug.com/lifeview/plugin/jvncheat.html
https://lazyslug.com/lifeview/plugin/waypoints.html
And pattern errors on these pages:
https://lazyslug.com/lifeview/plugin/happy.html
https://lazyslug.com/lifeview/plugin/veryhappy.html
This page also has an invalid pattern error, though I'm not sure if it's the same error mentioned in the page name:
https://lazyslug.com/lifeview/plugin/offseterror.html
There are errors of multiple types on this page, some of which may be intentional:
https://lazyslug.com/lifeview/plugin/test.html
----
CXRLE data is displayed in the Comments area, presumably due to beginning with #C.
Code: Select all
#CXRLE Pos=0,0 Gen=-16384
x = 4, y = 4, rule = B3/S23
2bo$obo$bobo$bo!
Not exactly related to LifeViewer, but is CXRLE documented anywhere? It isn't mentioned much on the wiki. Does it only control the starting generation and pattern coordinates?
I've noticed that on
this page, the text within LifeViewer is noticeably more bold than anywhere else. However, this only appears to affect mobile Safari - neither my desktop computers nor phone appear to be rendering the text bold like this. Is there some HTML text formatting bleeding into the viewer that only some browsers know to catch? Is the font even supposed to be customizable at all (this somewhat ties back into the "fitting LifeViewer on other sites" question from earlier)? I've already mentioned
a year ago that the font used appears different across operating systems as well.

- IMG_7156.jpeg (324.84 KiB) Viewed 722 times
If we use Select All on this, it selects the entire object, but attempting to do anything at all with that selection (rotation, flipping, inverting, ...) will cause nothing (EDIT: see below) to happen (except for displaying errors with rotation).
Code: Select all
x = 138, y = 124, rule = R100,C0,M1,S5612..9776,B5612..7585,NN
34b17o38b14o$30b31o16b30o$28b81o$26b85o$25b88o$23b92o$22b94o$20b97o$
19b100o$18b102o$17b104o$16b106o$15b108o$14b110o$13b112o$12b114o$11b
116o$11b116o$10b118o$9b120o$9b120o$8b122o$7b124o$7b124o$6b126o$6b126o$
5b128o$5b128o$4b130o$4b130o$3b132o$3b132o$2b133o$2b134o$2b134o$b135o$b
136o$b136o$b136o$137o$137o$137o$66o6b66o$61o16b61o$58o22b58o$55o28b55o
$53o32b53o$52o34b52o$50o38b49o$50o38b49o$49o40b48o$49o40b48o$b47o42b
47o$b47o42b47o$b47o42b46o$b46o44b45o$2b45o44b45o$2b45o44b44o$2b45o44b
44o$3b44o45b43o$3b43o46b42o$3b43o46b42o$4b42o46b42o$4b42o46b41o$4b42o
46b41o$5b41o46b41o$5b41o46b40o$5b41o46b40o$6b40o46b40o$6b40o46b39o$7b
39o46b39o$7b39o46b39o$7b39o46b38o$8b38o46b38o$8b38o46b38o$9b37o46b37o$
9b37o46b37o$9b37o46b36o$10b36o46b36o$10b36o46b36o$10b36o46b35o$11b35o
46b35o$11b35o47b34o$11b35o47b34o$12b34o47b33o$12b34o46b34o$12b34o46b
34o$13b34o45b33o$13b34o45b33o$13b34o46b32o$13b34o46b32o$13b34o46b32o$
14b33o46b31o$14b33o46b31o$14b33o45b32o$14b33o45b32o$15b32o46b30o$15b
32o46b30o$15b32o46b30o$16b31o46b29o$16b31o46b29o$16b31o46b29o$17b30o
46b28o$17b30o46b28o$18b29o46b27o$18b29o44b29o$19b32o36b33o$19b37o25b
38o$20b99o$20b98o$21b96o$21b96o$22b94o$23b92o$24b90o$26b86o$28b82o$31b
76o$34b70o$37b64o$41b55o$46b45o$52b34o$58b22o!
[[ MAXGRIDSIZE 10 STARTFROM 26 ZOOM 2 Y -256 ]]
If there are intentional limitations on areas which can be modified using the in-viewer tools, I'd prefer this to be communicated in a more obvious way - the current behaviour is unexpected and confusing.
Perhaps this "uneditable area" could be visually indicated in some way. Similarly to how out-of-bounds areas are solid gray, the "area which cannot be edited" could use red background cells, visible only when in Draw or Select mode. Attempting to draw in this area would not work, and attempting to create a selection would have the selection unable to extend into the red area, much like when trying to create a selection that extends outside of a bounded grid. If Select All would result in a selection extending into this region, the selection would be cut off so that all selected cells are within the normal editable zone.
Side note: the above example used to have STARTFROM 29, but that seems to crash the popup on my iPad now (it wasn't on the site - perhaps it's because I still have 1278 cached there, and 1279 changed something?); this is why the bottom of the selection will be changed by the operations mentioned above, even though that originally didn't happen.
Code: Select all
x = 138, y = 124, rule = R100,C0,M1,S5612..9776,B5612..7585,NN
34b17o38b14o$30b31o16b30o$28b81o$26b85o$25b88o$23b92o$22b94o$20b97o$
19b100o$18b102o$17b104o$16b106o$15b108o$14b110o$13b112o$12b114o$11b
116o$11b116o$10b118o$9b120o$9b120o$8b122o$7b124o$7b124o$6b126o$6b126o$
5b128o$5b128o$4b130o$4b130o$3b132o$3b132o$2b133o$2b134o$2b134o$b135o$b
136o$b136o$b136o$137o$137o$137o$66o6b66o$61o16b61o$58o22b58o$55o28b55o
$53o32b53o$52o34b52o$50o38b49o$50o38b49o$49o40b48o$49o40b48o$b47o42b
47o$b47o42b47o$b47o42b46o$b46o44b45o$2b45o44b45o$2b45o44b44o$2b45o44b
44o$3b44o45b43o$3b43o46b42o$3b43o46b42o$4b42o46b42o$4b42o46b41o$4b42o
46b41o$5b41o46b41o$5b41o46b40o$5b41o46b40o$6b40o46b40o$6b40o46b39o$7b
39o46b39o$7b39o46b39o$7b39o46b38o$8b38o46b38o$8b38o46b38o$9b37o46b37o$
9b37o46b37o$9b37o46b36o$10b36o46b36o$10b36o46b36o$10b36o46b35o$11b35o
46b35o$11b35o47b34o$11b35o47b34o$12b34o47b33o$12b34o46b34o$12b34o46b
34o$13b34o45b33o$13b34o45b33o$13b34o46b32o$13b34o46b32o$13b34o46b32o$
14b33o46b31o$14b33o46b31o$14b33o45b32o$14b33o45b32o$15b32o46b30o$15b
32o46b30o$15b32o46b30o$16b31o46b29o$16b31o46b29o$16b31o46b29o$17b30o
46b28o$17b30o46b28o$18b29o46b27o$18b29o44b29o$19b32o36b33o$19b37o25b
38o$20b99o$20b98o$21b96o$21b96o$22b94o$23b92o$24b90o$26b86o$28b82o$31b
76o$34b70o$37b64o$41b55o$46b45o$52b34o$58b22o!
[[ MAXGRIDSIZE 10 STARTFROM 29 ZOOM 2 Y -256 ]]