I don't really request for that to be necessarily added at the moment, the current function seems adequate for me, I was just noting the cause of the phenomenon drc described.fluffykitty wrote:I think what gmc_nxtman wants is a way to track all non-state-0 cells.
Pattern viewer for forum threads
- gmc_nxtman
- Posts: 1150
- Joined: May 26th, 2015, 7:20 pm
Re: Pattern viewer for forum threads
Re: Pattern viewer for forum threads
Build 231 is now live on the Forums and LifeWiki
Please note: you will need to refresh your browser to use the new build
Enhancements since the last released build:
Please note: you will need to refresh your browser to use the new build
Enhancements since the last released build:
- added [[ NOGUI ]] to disable menus and hotkeys - test
Code: Select all
x = 9, y = 5, rule = B3/S23
$bo3b3o$b3o2bo$2bo!
[[ NOGUI THEME 6 GRID WIDTH 96 HEIGHT 96 ]]- when you mouse over a [[ NOGUI ]] Viewer an RLE link appears which when clicked will copy the pattern's RLE into the Clipboard on modern browsers
- reduces [[ WIDTH ]] and [[ HEIGHT ]] minimum limit to 64
- silently disables the following if specified:
- [[ GRAPH ]], [[ SHOWGENSTATS ]], [[ SHOWINFOBAR ]], [[ SHOWTIMING ]], [[ THUMB ]] and [[ THUMBLAUNCH ]]
- Viewers that have [[ NOGUI ]] specified with script errors will not enforce [[ NOGUI ]] so errors can be seen
- added [[ NORLE ]] which disables the "RLE" link when you mouse over a [[ NOGUI ]] Viewer
- hotkey control and "c" will copy pattern source to the clipboard (on modern browsers)
- added [[ COLOR ERROR R G B ]] to set colour for error messages (default is red)
- generation statistics tooltips for alive, births and deaths shows full value (rather than abbreviated)
- variable substitutions can now be used in waypoint messages
- #B the LifeViewer build number
- #N the pattern name (if defined)
- #O the pattern originator (if defined)
- #R the pattern rule name
- #A the pattern alias name
- #T the program title ("LifeViewer")
- ## the # symbol
LifeViewer https://lazyslug.com/lifeviewer
-
- Posts: 1175
- Joined: June 14th, 2014, 5:03 pm
- Contact:
Re: Pattern viewer for forum threads
How do I use Lifeviewer scripts and are they Turing Complete?
Re: Pattern viewer for forum threads
Read the first post in this thread for starters. Hit 'H' for help in LifeViewer to see a list of all the supported commands. For examples of syntax in specific cases, follow Chris's handy "test" links for the build in which the feature appeared.fluffykitty wrote:How do I use Lifeviewer scripts and are they Turing Complete?
No, LifeViewer script commands are not a programming language, just a control mechanism and a way to set up animation sequences.
-
- Posts: 1334
- Joined: July 1st, 2016, 3:58 pm
Re: Pattern viewer for forum threads
Wouldn't they technically be Turing Complete, as they can simulate Turing Complete rules like W110? Maybe I am confusing this with something else. I thought I saw that as a proof for the Turing Completeness of some programming language
I manage the 5S project, which collects all known spaceship speeds in Isotropic Non-totalistic rules. I also wrote EPE, a tool for searching in the INT rulespace.
Things to work on:
- Find (7,1)c/8 and 9c/10 ships in non-B0 INT.
- EPE improvements.
Things to work on:
- Find (7,1)c/8 and 9c/10 ships in non-B0 INT.
- EPE improvements.
Re: Pattern viewer for forum threads
I thought about that briefly before answering... but it's really not the scripting commands that are Turing-complete, it's the set of possible patterns that LifeViewer can simulate. And for the most part, LifeViewer can do those simulations equally well with or without the scripting commands.AforAmpere wrote:Wouldn't they technically be Turing Complete, as they can simulate Turing Complete rules like W110? Maybe I am confusing this with something else. I thought I saw that as a proof for the Turing Completeness of some programming language
- gmc_nxtman
- Posts: 1150
- Joined: May 26th, 2015, 7:20 pm
Re: Pattern viewer for forum threads
Bringing this back up because there's currently no feature to read pattern comments (unless I somehow missed it in the help menu), although it seems that key "I' has been used already. I think N might be suitable, but I'm not sure.gmc-alpha-v0.02a wrote:I also think you should implement ability to read pattern comments, associate lines #O #N etc. with discoverer, name, and associate hotkey "I" with this feature if implemented...
Re: Pattern viewer for forum threads
This was partially implemented in build 182 which was released to the forum on April 8th, 2016:
If you click "SHOW IN VIEWER" above and then use hotkey "i" for information you'll see the Name and Originator in the "Pattern:" section of the Help Information.
You can also use them as a window title:
Or as a waypoint message:
- help information now includes pattern name and originator if specified in the RLE using #N and #O
Code: Select all
#N Acorn
#O Charles Corderman
#C A methuselah with lifespan 5206.
x = 7, y = 3, rule = B3/S23
bo5b$3bo3b$2o2b3o!
You can also use them as a window title:
Code: Select all
#C [[ TITLE "#N by #O" ]]
#N Acorn
#O Charles Corderman
#C A methuselah with lifespan 5206.
x = 7, y = 3, rule = B3/S23
bo5b$3bo3b$2o2b3o!
Code: Select all
#C [[ "Name: #N\nOriginator: #O" ]]
#N Acorn
#O Charles Corderman
#C A methuselah with lifespan 5206.
x = 7, y = 3, rule = B3/S23
bo5b$3bo3b$2o2b3o!
LifeViewer https://lazyslug.com/lifeviewer
- gmc_nxtman
- Posts: 1150
- Joined: May 26th, 2015, 7:20 pm
Re: Pattern viewer for forum threads
I wasn't aware of this feature! I guess I didn't look too far into the changelog to notice that. Looks good.rowett wrote:This was partially implemented in build 182 which was released to the forum on April 8th, 2016:
- help information now includes pattern name and originator if specified in the RLE using #N and #O
If you click "SHOW IN VIEWER" above and then use hotkey "i" for information you'll see the Name and Originator in the "Pattern:" section of the Help Information.Code: Select all
#N Acorn #O Charles Corderman #C A methuselah with lifespan 5206. x = 7, y = 3, rule = B3/S23 bo5b$3bo3b$2o2b3o!
Re: Pattern viewer for forum threads
The code box with 15c/15 above it uses a torus too big for LifeViewer to handle. Maybe a limit should be imposed so that a black box doesn't appear?
Re: Pattern viewer for forum threads
Thanks for reporting! This has been fixed and will be in the next released build. Test case is here.drc wrote:The code box with 15c/15 above it uses a torus too big for LifeViewer to handle. Maybe a limit should be imposed so that a black box doesn't appear?
LifeViewer https://lazyslug.com/lifeviewer
- gameoflifeboy
- Posts: 474
- Joined: January 15th, 2015, 2:08 am
Re: Pattern viewer for forum threads
I already posted this somewhere else, but I'm reposting it because I think it deserves attention. My apologies if this issue is already known:
gameoflifeboy, in the LtL thread wrote:nless the extended RLE [of a bounded-grid pattern] gives the pattern's coordinates, LifeViewer places the pattern in the upper left of the torus but Golly places it in the middle. This isn't a problem for tori, but the same thing also happens on a bounded grid, which causes some patterns to run differently. Fortunately this can be avoided by explicitly specifying the coordinates [with #CXRLE].
Re: Pattern viewer for forum threads
gameoflifeboy wrote:nless the extended RLE [of a bounded-grid pattern] gives the pattern's coordinates, LifeViewer places the pattern in the upper left of the torus but Golly places it in the middle.
Noted. It's on the backlog for LifeViewer. Thanks for reporting!
LifeViewer https://lazyslug.com/lifeviewer
- gameoflifeboy
- Posts: 474
- Joined: January 15th, 2015, 2:08 am
Re: Pattern viewer for forum threads
When using AutoFit on this pattern, a lightspeed spaceship in a cylinder, LifeViewer zooms out despite the bounding box of the spaceship not growing:
Code: Select all
x = 11, y = 12, rule = B3/S23:T0,12
2bo7bo$2bo7bo$2bo7bo$2bo7bo$2bo7bo$2bo7bo$o9bo$o9bo$o9bo$2bo7bo$2bo7bo
$2bo7bo!
[[ AUTOFIT AUTOSTART ]]
Re: Pattern viewer for forum threads
With Bounded Grids (and LifeHistory patterns too) LifeViewer uses the initial bounding box as the minimum size for AutoFit. I may make this an option in a future build.gameoflifeboy wrote:When using AutoFit on this pattern, a lightspeed spaceship in a cylinder, LifeViewer zooms out despite the bounding box of the spaceship not growing
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 233 is now live on the Forums and LifeWiki
Please note: you will need to refresh your browser to use the new build
LifeViewer can now be used to display static images with the [[ NOGUI ]] script command. You can save the image by right clicking on it and "Save image as..." (depending on your browser). You can copy the pattern's source RLE the clipboard by mousing over the image and clicking on it when "Copy" appears.
Images can be as small as 64x64 pixels:
You can disable the copy functionality by using the [[ NOCOPY ]] script command:
Enhancements since the last released build:
Please note: you will need to refresh your browser to use the new build
LifeViewer can now be used to display static images with the [[ NOGUI ]] script command. You can save the image by right clicking on it and "Save image as..." (depending on your browser). You can copy the pattern's source RLE the clipboard by mousing over the image and clicking on it when "Copy" appears.
Code: Select all
b2o2b2o$3b2o$3b2o$obo2bobo$o6bo2$o6bo$b2o2b2o$2b4o2$3b2o$3b2o! [[ NOGUI THEME 6 GRID HEIGHT 200 WIDTH 200 ]]
Code: Select all
b2o2b2o$3b2o$3b2o$obo2bobo$o6bo2$o6bo$b2o2b2o$2b4o2$3b2o$3b2o! [[ NOGUI THEME 6 GRID HEIGHT 64 WIDTH 64 ]]
Code: Select all
b2o2b2o$3b2o$3b2o$obo2bobo$o6bo2$o6bo$b2o2b2o$2b4o2$3b2o$3b2o! [[ NOGUI NOCOPY THEME 6 GRID HEIGHT 64 WIDTH 64 ]]
- improved compatibility of copy pattern source
- renamed [[ NORLE ]] to [[ NOCOPY ]] and then link from "RLE" to "Copy"
- added [[ NOSOURCE ]] which hides the pattern source textbox
- help information now shows MAP rules on multiple lines
- the RLE reader could skip rule definition if previous line was just a # character
- bounded grids are now checked to make sure they fit - test
- canonical MAP rule is now correct
LifeViewer https://lazyslug.com/lifeviewer
- gameoflifemaniac
- Posts: 1242
- Joined: January 22nd, 2017, 11:17 am
- Location: There too
Re: Pattern viewer for forum threads
LtL rules are not simulated correctly in LifeViewer. The patterns are just stationary.
I was so socially awkward in the past and it will haunt me for the rest of my life.
Code: Select all
b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!
Re: Pattern viewer for forum threads
That's because LifeViewer currently doesn't attempt to simulate them at all right now.gameoflifemaniac wrote:LtL rules are not simulated correctly in LifeViewer. The patterns are just stationary.
On that note, I wonder how development on just that is getting on.
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
Correct, LtL is not yet complete in LifeViewer.muzik wrote:That's because LifeViewer currently doesn't attempt to simulate them at all right now.gameoflifemaniac wrote:LtL rules are not simulated correctly in LifeViewer. The patterns are just stationary.
On that note, I wonder how development on just that is getting on.
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
What will the limits (for range) be, if any?
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
Same as Golly.muzik wrote:What will the limits (for range) be, if any?
LifeViewer https://lazyslug.com/lifeviewer
- gameoflifemaniac
- Posts: 1242
- Joined: January 22nd, 2017, 11:17 am
- Location: There too
Re: Pattern viewer for forum threads
So you are the creator of LifeViewer?rowett wrote:Same as Golly.muzik wrote:What will the limits (for range) be, if any?
I was so socially awkward in the past and it will haunt me for the rest of my life.
Code: Select all
b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!
Re: Pattern viewer for forum threads
So you are the creator of LifeViewer?[/quote]gameoflifemaniac wrote: Same as Golly.
Yes if you cant tell already.
Re: Pattern viewer for forum threads
Is there/could there be a way to switch between displaying hexagonal rules on a regular square lattice (as in golly), a brick square lattice (like lifeviewer currently), and a true hexagonal grid?
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
You can switch between the first two (hotkey '/'). LifeViewer does not support a true hexagonal grid.muzik wrote:Is there/could there be a way to switch between displaying hexagonal rules on a regular square lattice (as in golly), a brick square lattice (like lifeviewer currently), and a true hexagonal grid?
LifeViewer https://lazyslug.com/lifeviewer