Thread for your script-related questions

For scripts to aid with computation or simulation in cellular automata.
Francisco
Posts: 24
Joined: March 9th, 2021, 4:53 pm

Re: Thread for your script-related questions

Post by Francisco » September 19th, 2021, 6:07 pm

What is the best way to terminate apgsearch on linux?

User avatar
creeperman7002
Posts: 284
Joined: December 4th, 2018, 11:52 pm

Re: Thread for your script-related questions

Post by creeperman7002 » September 19th, 2021, 7:19 pm

Is there a program that enumerates still lives in a given rule?
B2n3-jn/S1c23-y is an interesting rule. It has a replicator, a fake glider, an OMOS and SMOS, a wide variety of oscillators, and some signals. Also this rule is omniperiodic.
viewtopic.php?f=11&t=4856

Naszvadi
Posts: 860
Joined: May 7th, 2016, 8:53 am
Contact:

Re: Thread for your script-related questions

Post by Naszvadi » October 22nd, 2021, 4:47 am

Suboptimal script to list known life-like rules with discovered gliders, strongly depends on gnuish tools, might not work on osx or bsd:

Code: Select all

awk -F: '/B.*S/&&$0=$3" "$4'   gliders.db.txt    \
| sort \
| uniq \
| tr / ' ' \
| awk '{for(x=0;x<2;x++){outB="";split($(3+x),a,//);for(n in a){ if($(1+x)~a[n]){outB=outB""a[n]}else{outB=outB"{,"a[n]"}"}};printf(outB);shift;if(x<1){printf("/");}}; print""}' \
| while read i;do eval printf '%s\\n' $i; done \
| sort \
| uniq
# end

erictom333
Posts: 34
Joined: January 9th, 2019, 2:44 am

Re: Thread for your script-related questions

Post by erictom333 » October 23rd, 2021, 9:16 pm

How do I apgsearch?

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

Re: Thread for your script-related questions

Post by dvgrn » October 23rd, 2021, 9:37 pm

erictom333 wrote:
October 23rd, 2021, 9:16 pm
How do I apgsearch?
Start here and follow the relevant instructions in the Installation section.

Post Reply