Thread for your script-related questions

For scripts to aid with computation or simulation in cellular automata.
User avatar
dvgrn
Moderator
Posts: 7780
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Thread for your script-related questions

Post by dvgrn » March 29th, 2021, 8:09 am

PkmnQ wrote:
March 29th, 2021, 7:37 am
I know of a script that turns patterns to apgcodes, but is there a script that turns apgcodes to patterns?
This script by Ilmari Karonen seems to fit the bill. I haven't tested it, but the comments show a good level of awareness of the different apgcode variants.

Tangential note: I knew the name "Ilmari Karonen" was familiar, but I had no idea why. Turns out one of my first blog posts was about a question he asked on the comp.theory.cell-automata newsgroup, which was more or less the public predecessor of the conwaylife.com forums.

I didn't even remember that I had started that blog that early (first post in late 2004). Memories of that time are very hazy -- had electricity even been invented back then, let alone the Internet? It's clear from the pattern format that this was before LifeViewer's time, at least.

User avatar
PkmnQ
Posts: 1136
Joined: September 24th, 2018, 6:35 am
Location: Server antipode

Re: Thread for your script-related questions

Post by PkmnQ » March 29th, 2021, 8:22 am

dvgrn wrote:
March 29th, 2021, 8:09 am
PkmnQ wrote:
March 29th, 2021, 7:37 am
I know of a script that turns patterns to apgcodes, but is there a script that turns apgcodes to patterns?
This script by Ilmari Karonen seems to fit the bill. I haven't tested it, but the comments show a good level of awareness of the different apgcode variants.

Tangential note: I knew the name "Ilmari Karonen" was familiar, but I had no idea why. Turns out one of my first blog posts was about a question he asked on the comp.theory.cell-automata newsgroup, which was more or less the public predecessor of the conwaylife.com forums.

I didn't even remember that I had started that blog that early (first post in late 2004). Memories of that time are very hazy -- had electricity even been invented back then, let alone the Internet? It's clear from the pattern format that this was before LifeViewer's time, at least.
I can't even load in a loafer.
Random posts isn't the problem, toxicity is. Don't be toxic.

Anyway, I created a CA which has a lot of infinte growths.

User avatar
dvgrn
Moderator
Posts: 7780
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Thread for your script-related questions

Post by dvgrn » March 29th, 2021, 8:30 am

PkmnQ wrote:
March 29th, 2021, 8:22 am
I can't even load in a loafer.
Why not, exactly? Please try being more specific in bug reports -- it seems silly to have to go through several cycles of posts to painfully extract the relevant information from people.

I saved the script to Golly's Scripts/Python directory, entered "xq7_3nw17862z6952", and ended up with a downward-traveling loafer, as expected.

User avatar
PkmnQ
Posts: 1136
Joined: September 24th, 2018, 6:35 am
Location: Server antipode

Re: Thread for your script-related questions

Post by PkmnQ » March 29th, 2021, 8:32 am

dvgrn wrote:
March 29th, 2021, 8:30 am
PkmnQ wrote:
March 29th, 2021, 8:22 am
I can't even load in a loafer.
Why not, exactly? Please try being more specific in bug reports -- it seems silly to have to go through several cycles of posts to painfully extract the relevant information from people.

I saved the script to Golly's Scripts/Python directory, entered "xq7_3nw17862z6952", and ended up with a downward-traveling loafer, as expected.
Wait, sorry. I accidentally pasted it into a filename which might've removed some important characters.
Edit: I pasted it in properly this time and it works. Sorry for the confusion.
Random posts isn't the problem, toxicity is. Don't be toxic.

Anyway, I created a CA which has a lot of infinte growths.

User avatar
GUYTU6J
Posts: 1344
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Thread for your script-related questions

Post by GUYTU6J » April 1st, 2021, 5:29 am

Is lifelib capable of analyzing methuselahs, i.e. given a pattern RLE, can any function output its lifespan, bounding box, MCPS, final population, etc?
Lifequote:
In the drama The Peony Pavilion, Tang Xianzu wrote: 原来姹紫嫣红开遍,似这般都付与断井颓垣。
(Here multiflorate splendour blooms forlorn
Midst broken fountains, mouldering walls.)
I'm afraid there's arrival but no departure.
Stop Japan from pouring nuclear waste!

User avatar
cgoler2
Posts: 33
Joined: March 10th, 2021, 2:32 pm

Re: Thread for your script-related questions

Post by cgoler2 » April 7th, 2021, 4:27 pm

Where is searchRule-matchPatt2.lua?

User avatar
GUYTU6J
Posts: 1344
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

A Java question not related to CA (sorry)

Post by GUYTU6J » April 10th, 2021, 1:56 am

How do I compile and run the Java QuasiTiler from https://sourceforge.net/projects/quasitiler/? I have installed Java —

Code: Select all

java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) Client VM (build 25.281-b09, mixed mode, sharing)
— but my command prompt doesn't recognize "javac".
Lifequote:
In the drama The Peony Pavilion, Tang Xianzu wrote: 原来姹紫嫣红开遍,似这般都付与断井颓垣。
(Here multiflorate splendour blooms forlorn
Midst broken fountains, mouldering walls.)
I'm afraid there's arrival but no departure.
Stop Japan from pouring nuclear waste!

Post Reply