Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.
bubblegum
Posts: 579
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Pattern viewer for forum threads

Post by bubblegum » October 8th, 2020, 12:04 pm

rowett wrote:
October 8th, 2020, 2:38 am
bubblegum wrote:
October 7th, 2020, 1:09 pm
And the slider which controls the fill amount of the random fill, 100% is not at the end of the bar and it's possible, if you slide it slowly, to set it to 101%
Please will you post a screenshot of both the slider at 100% but not at the end of the bar, and also the 101%.
Now that I think of it, the 100% thing doesn't really count, but the 101% does:
Image

The 101% is rightfully fused to the end of the slider area.
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
bubblegum wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
part-time stator reducer

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

Re: Pattern viewer for forum threads

Post by rowett » October 8th, 2020, 12:33 pm

bubblegum wrote:
October 8th, 2020, 12:04 pm
The 101% is rightfully fused to the end of the slider area.
Thanks. I've posted a potential fix but still can't reproduce so please let me know if you still see it with build 567.

bubblegum
Posts: 579
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Pattern viewer for forum threads

Post by bubblegum » October 8th, 2020, 12:47 pm

rowett wrote:
October 8th, 2020, 12:33 pm
bubblegum wrote:
October 8th, 2020, 12:04 pm
The 101% is rightfully fused to the end of the slider area.
Thanks. I've posted a potential fix but still can't reproduce so please let me know if you still see it with build 567.
Fixed, thanks.
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
bubblegum wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
part-time stator reducer

User avatar
GUYTU6J
Posts: 1217
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA!
Contact:

Re: Pattern viewer for forum threads

Post by GUYTU6J » October 9th, 2020, 5:44 am

Why is SHOW IN VIEWER displayed on a code box containing no pattern codes?
rowett wrote:
August 25th, 2017, 10:45 am
...

Code: Select all

! /bin/sh
# Add LifeViewer to the Life Lexicon

# define input and output file names
input=lex.html
output1=lex1.html
output2=lex2.html
output3=lexlv.html

# insert the LifeViewer plugin into the head section
cat $input | sed 's@</head>@<meta name="LifeViewer" content="viewer pre 150">\n<script src="lv-plugin.js"></script>\n&@' > $output1

# add a show in viewer button to each pattern
cat $output1 | sed 's@<pre>@<div class="viewer">\n<button type="button" onclick="updateViewer(this);return false;">Show in Viewer</button>\n&@' > $output2
cat $output2 | sed 's@</pre>@&\n</div>\n@' > $output3

# tidy up
rm -f $output1 $output2
Lifequote:
Chuangtse wrote: What we love is the mystery of Life. What we hate is corruption in death. But the corruptible in its turn becomes mysterious life, and this mysterious life once more becomes corruptible.

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

Re: Pattern viewer for forum threads

Post by rowett » October 9th, 2020, 8:14 am

GUYTU6J wrote:
October 9th, 2020, 5:44 am
Why is SHOW IN VIEWER displayed on a code box containing no pattern codes?
Because ! marks the end of an RLE pattern so it's valid. Everything after the ! is considered as comments.

User avatar
PHPBB12345
Posts: 785
Joined: August 5th, 2015, 11:55 pm
Contact:

Re: Pattern viewer for forum threads

Post by PHPBB12345 » October 15th, 2020, 6:18 am

Suggestion: Margolus Generation (multi-state)
e.g. M0,8,4,3,2,5,9,7,1,6,10,11,12,13,14,15,3 is 3-state rule

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

Re: Pattern viewer for forum threads

Post by rowett » October 15th, 2020, 12:30 pm

PHPBB12345 wrote:
October 15th, 2020, 6:18 am
Suggestion: Margolus Generation (multi-state)
e.g. M0,8,4,3,2,5,9,7,1,6,10,11,12,13,14,15,3 is 3-state rule
Thanks for the suggestion. This isn't a priority at the moment and would be quite tricky to implement (especially for reversible rules) so I don't know if and when I'll get to it.

bubblegum
Posts: 579
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Pattern viewer for forum threads

Post by bubblegum » October 19th, 2020, 1:53 pm

bubblegum wrote:
September 26th, 2020, 2:53 pm
rowett wrote:
September 26th, 2020, 1:58 pm
bubblegum wrote:
September 26th, 2020, 12:41 pm
Multistate rules now draw with 1 if the selected state is not 0, and smart drawing is effectively off.
Please post a pattern that reproduces that behaviour.

Code: Select all

#C [[ PASTET 1 PASTE E! 0 1 ]]
x = 3, y = 1, rule = LifeHistory
3A!

Code: Select all

#C [[ PASTET 1 PASTE B! 0 1 ]]
x = 3, y = 1, rule = DeadlyEnemies
3A!
Note that the PASTE command is given states 5 and 2 yet produces state 1 for both.

Also I need one of two things:
1) A way to specify weights 8-f/80-ff being 8~15/128~255 instead of being negative, or
2) Negative birth and survival conditions.
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
bubblegum wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
part-time stator reducer

lemon41625
Posts: 303
Joined: January 24th, 2020, 7:39 am
Location: 小红点 (if you know where that is)

Re: Pattern viewer for forum threads

Post by lemon41625 » October 23rd, 2020, 1:32 am

This should work look like this I think:
Image

Code: Select all

x = 16, y = 18, rule = R2,C2,S3-4,B3-4,NW0000001110010100111000000|R2,C2,S3-4,9-20,B4,NW1111111111110111111111111
9b3o5b$9bo7b$9b4o4b$17b$17b$17b$17b$17b$b3o13b$4o13b$2o15b$2o15b$17b$13b2o2b$12bo2bob$11bo4bo$11bo4bo$12bo2bob$13b2o2b$!
If alternating between neighbourhoods isn't supposed to work, an error message should probably be shown.

Alternating rules error handling also seems a bit wonky when a user tries to input 2 different rule families.
Download CAViewer: https://github.com/jedlimlx/Cellular-Automaton-Viewer

Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...

bubblegum
Posts: 579
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Pattern viewer for forum threads

Post by bubblegum » October 29th, 2020, 11:34 pm

Code: Select all

03ajkr/2ak/3 - Fireworld
I am getting sick of the contrasting ruletable/Generations colours.
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
bubblegum wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
part-time stator reducer

muzik
Posts: 3926
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » November 10th, 2020, 6:32 pm

Will LifeSuper be able to support history fading effects like LifeHistory and other rules (shortened, of course, as to fit within the 256 state limit)?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

muzik
Posts: 3926
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » November 21st, 2020, 9:07 pm

Can aliases that duplicate the weighted aliases be removed in favour of the weighted aliases if the rules in question behave identically (or, equivalently, all range-1 weighted aliases be converted to the other rulespace formats in question)?

SolarWorld also seems to be slightly misplaced.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

Post Reply