Thread for PatMan (Pattern Manager)

For general discussion about Conway's Game of Life.
Post Reply
Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Thread for PatMan (Pattern Manager)

Post by Book » November 30th, 2021, 2:36 pm

The beta for PatMan (Pattern Manager) can now be viewed and run at https://golhobby.com/patman/.

PatMan lets you organize your pattern collection(s) and run them in LifeViewer. Or it will, as soon as I get it out of beta and make it available to download.

I run it on my home PC (Windows-IIS-localhost) and public-facing on a hosted linux server, so it should run on any web server.

Questions etc. are welcomed.
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » December 2nd, 2021, 3:04 pm

Image
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » December 6th, 2021, 6:50 pm

I've added jslife and several other collections to my PatMan 1.0. It also has a link you can use to download the app and use it to display your own collections and run them in LifeViewer.

Check it out at https://golhobby.com/patman/
Phil Bookman

User avatar
otismo
Posts: 1201
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by otismo » December 9th, 2021, 1:44 am

Nice Work !

We now have a way to display CGoL ArtWorks and our Favorite Patterns online !

Thank You !

PatMan is now live at :

http://patman.gol.onl

http://patman.cgol.art

http://patman.atmy.ws

http://patman.onfav.net

http://patman.conway.life

http://patman.johnhortonconway.com

http://patman.viropet.com

if you want to upload a pattern collection with your name on it, I will be pleased to assist

email : foxeo@ymail.com

PatMan is now also live at :

http://gol.fav.uno/patman

http://gol.jct.onl/patman

http://gol.onfav.net/patman

http://gol.foxeo.com/patman

http://gol.zart.tech/patman

finally, it is PatMan that resolves at these URLs :

http://cgol.cybr.site

AND

http://cgol.zart.tech

email me at foxeo@ymail.com if you wish to have custom pattern collections at any of these URLs

they might work for your METAVERSE

Cheers !
Last edited by otismo on December 30th, 2021, 2:45 pm, edited 2 times in total.
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://viropet.com
Art Gallery : http://cgolart.com
Video WebSite : http://conway.life

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » December 9th, 2021, 1:52 pm

Added the Golly Life collection to PatMan:
.
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » December 9th, 2021, 2:17 pm

otismo wrote:
December 9th, 2021, 1:44 am

if you want to upload a pattern collection with your name on it, add /fm to the URL

to use the TiNiLiL FILE MGR; login with username and password

Cool!
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

PatMan 1.2

Post by Book » January 3rd, 2022, 2:06 pm

Pattern Manager 1.2 is now available: https://golhobby.com/patman/

What's new:
  • added separate interface for smart phones
  • thumbnail view added for PCs, Macs, tablets
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » August 5th, 2022, 7:17 pm

Patman users should download the most recent LifeViewer JavaScript plug-in. Fixes the black hole bug, https://lazyslug.com/lifeview/plugin/js ... -plugin.js
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » August 10th, 2022, 7:36 pm

PatMan 1.3 adds support for apgcodes (xs, xp, xq) (https://golhobby.com/patman/).
  • You can use an apgcode instead of an rle in a pattern's txt file
  • You can enter an apgcode instead of an rle in the Enter RLE function
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » August 22nd, 2022, 4:06 pm

The Golly Life collection on PatMan now contains the Golly 4.2 patterns.
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » August 26th, 2022, 6:48 pm

Patman needs RLEs in txt files. When I ported the new Golly Life collection, it occurred to me that others might need a simple way to change all the rle extensions in a folder and its subs to txt, so here's the Windows bat file I use:

Code: Select all

@ECHO OFF
PUSHD .
FOR /R %%d IN (.) DO (
cd "%%d"
IF EXIST *.rle (
REN *.rle *.txt
)
)
POPD
Just save this as a bat file in the desired folder, double-click on it, and poof!
Phil Bookman

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

Re: Thread for PatMan (Pattern Manager)

Post by PHPBB12345 » February 6th, 2023, 8:38 am

Attachments
WrongClassification.png
WrongClassification.png (17.47 KiB) Viewed 6569 times

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » February 6th, 2023, 2:56 pm

I assume you mean the list box overlapping the viewer. Fixed, thanks for reporting.
Phil Bookman

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

Re: Thread for PatMan (Pattern Manager)

Post by PHPBB12345 » February 6th, 2023, 3:00 pm

Book wrote:
February 6th, 2023, 2:56 pm
I assume you mean the list box overlapping the viewer. Fixed, thanks for reporting.
Please remove unnecessary folder

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » February 6th, 2023, 3:15 pm

Aha! Don't know how that got there, but I just removed it. So you actually found two bugs. Thanks.
Phil Bookman

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

Re: Thread for PatMan (Pattern Manager)

Post by PHPBB12345 » February 6th, 2023, 3:21 pm

Maximum density of 21x21 still lifes (symmetric variant):

Code: Select all

x = 21, y = 21, rule = B3/S23
2ob2obob2ob2obob2ob2o$2obob3obobob3obob2o$3bo5bobo5bo$3ob5obob5ob3o$o
2bo4bobobo4bo2bo$bobob2obobobob2obobo$2obob2obobobob2obob2o$bobo4bobob
o4bobo$o2b6obob6o2bo$3o7bo7b3o$3b7ob7o$3o7bo7b3o$o2b6obob6o2bo$bobo4bo
bobo4bobo$2obob2obobobob2obob2o$bobob2obobobob2obobo$o2bo4bobobo4bo2bo
$3ob5obob5ob3o$3bo5bobo5bo$2obob3obobob3obob2o$2ob2obob2ob2obob2ob2o!
EDIT: 13x13

Code: Select all

x = 13, y = 13, rule = B3/S23
2ob2obob2ob2o$2obob3obob2o$3bo5bo$3ob5ob3o$o2bo5bo2bo$bobo2b2obobo$2ob
obobobob2o$bobob2o2bobo$o2bo5bo2bo$3ob5ob3o$3bo5bo$2obob3obob2o$2ob2ob
ob2ob2o!
15x15:

Code: Select all

x = 15, y = 15, rule = B3/S23
ob2ob2obob2ob2o$2obobob3obobo$3bobo5bobo$2obob7ob2o$bobo9bo$o2b9o2bo$
3o9b3o$3b9o$3o9b3o$o2b9o2bo$bo9bobo$2ob7obob2o$bobo5bobo$bobob3obobob
2o$2ob2obob2ob2obo!
14x14:

Code: Select all

x = 14, y = 14, rule = B3/S23
2ob2ob2ob2ob2o$2ob2ob2ob2ob2o2$2ob8ob2o$2obo6bob2o$3bob4obo$2obobo2bob
ob2o$2obobo2bobob2o$3bob4obo$2obo6bob2o$2ob8ob2o2$2ob2ob2ob2ob2o$2ob2o
b2ob2ob2o!
Last edited by PHPBB12345 on February 8th, 2023, 4:09 am, edited 4 times in total.

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » February 6th, 2023, 3:31 pm

The purpose of the collection is to have at least one example for each n. I will gladly add these and others anyone contributes.
Phil Bookman

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » February 15th, 2023, 5:12 pm

PatMan 1.4 is now available at https://golhobby.com/patman/.

What's new:
  • Alan Hensel Collection: lifebc and lifep
  • Support for Life 1.05 and 1.06 (the heavy lifting is thanks to the LifeViewer js plugin); just change the file extension from .lif to .txt, as with all PatMan collections
You can run PatMan from the website or download it to your own web server.
Phil Bookman

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Thread for PatMan (Pattern Manager)

Post by muzik » March 10th, 2023, 9:13 am

I don't seem to be able to access any patterns manually on iOS? The random pattern works fine in each collection, but going to individual patterns via drop-down menus just doesn't do anything.

Also, it might be worth updating build 898 to build 945: styles/prosilver/template/lv-plugin.js

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » March 10th, 2023, 2:50 pm

muzik wrote:
March 10th, 2023, 9:13 am
I don't seem to be able to access any patterns manually on iOS? The random pattern works fine in each collection, but going to individual patterns via drop-down menus just doesn't do anything.

Also, it might be worth updating build 898 to build 945: styles/prosilver/template/lv-plugin.js
Seems to all work fine on my iphone in chrome and safari. So I'm puzzled.

I will update the plugin.
Phil Bookman

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Thread for PatMan (Pattern Manager)

Post by muzik » March 10th, 2023, 2:57 pm

Book wrote:
March 10th, 2023, 2:50 pm
muzik wrote:
March 10th, 2023, 9:13 am
I don't seem to be able to access any patterns manually on iOS? The random pattern works fine in each collection, but going to individual patterns via drop-down menus just doesn't do anything.
Seems to all work fine on my iphone in chrome and safari. So I'm puzzled.
When tapping on one of the links to the side, an empty "dropdown container" is displayed. When tapping on that, it disappears presumably as if I had clicked the link again, but the dropdown list appears. Does this happen on your end? If not, this might be related.

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » March 10th, 2023, 3:04 pm

muzik wrote:
March 10th, 2023, 2:57 pm
Book wrote:
March 10th, 2023, 2:50 pm
muzik wrote:
March 10th, 2023, 9:13 am
I don't seem to be able to access any patterns manually on iOS? The random pattern works fine in each collection, but going to individual patterns via drop-down menus just doesn't do anything.
Seems to all work fine on my iphone in chrome and safari. So I'm puzzled.
When tapping on one of the links to the side, an empty "dropdown container" is displayed. When tapping on that, it disappears presumably as if I had clicked the link again, but the dropdown list appears. Does this happen on your end? If not, this might be related.
Nope. So let me do exactly what you're doing. Which browser are you using? I am on ios 16.3.1 on an iphone. Just updated the plugin on my website. All is working fine. Hmmm....
Phil Bookman

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Thread for PatMan (Pattern Manager)

Post by muzik » March 10th, 2023, 3:22 pm

Book wrote:
March 10th, 2023, 3:04 pm
Nope. So let me do exactly what you're doing. Which browser are you using? I am on ios 16.3.1 on an iphone. Just updated the plugin on my website. All is working fine. Hmmm....
iPad Air 4th generation running 16.3.1. I don't really have any browsers other than Safari.

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Thread for PatMan (Pattern Manager)

Post by Book » March 10th, 2023, 3:58 pm

muzik wrote:
March 10th, 2023, 3:22 pm
iPad Air 4th generation running 16.3.1. I don't really have any browsers other than Safari.
So...same browser. Same iOS. I don't have an iPad to test with (darn). What the heck could be different?

Have you used PatMan on the iPad before successfully? I'm grasping at straws,
Phil Bookman

lk050807#2
Posts: 1
Joined: February 8th, 2024, 11:14 am

Re: Thread for PatMan (Pattern Manager)

Post by lk050807#2 » March 7th, 2024, 11:27 am

Book wrote:
August 26th, 2022, 6:48 pm
Patman needs RLEs in txt files. When I ported the new Golly Life collection, it occurred to me that others might need a simple way to change all the rle extensions in a folder and its subs to txt, so here's the Windows bat file I use:

Code: Select all

@ECHO OFF
PUSHD .
FOR /R %%d IN (.) DO (
cd "%%d"
IF EXIST *.rle (
REN *.rle *.txt
)
)
POPD
Just save this as a bat file in the desired folder, double-click on it, and poof!
Or use this Bash script:

Code: Select all

#!/bin/bash
find . -maxdepth 1 -name "*.rle" -exec bash -c 'mv "$1" "done/$(basename "$1" .rle).txt"' _ {} \;

Post Reply