Script request thread

For scripts to aid with computation or simulation in cellular automata.
User avatar
hotcrystal0
Posts: 4337
Joined: July 3rd, 2020, 5:32 pm
Location: wherever you think I am

Re: Script request thread

Post by hotcrystal0 » December 27th, 2024, 9:36 am

Reposting this:
hotcrystal0 wrote:
December 27th, 2024, 9:34 am
Can someone create a script to generate such rules with three inputs: the rule when the background noise is off, the rule when it is on, and the background noise rule?
wherever I go on the internet I bring with myself nothing but problems.

Code: Select all

x = 192, y = 53, rule = B3/S23
33$42b4o$41b6o$40b2ob4o$41b2o3$41b2o$39bo6bo$38bo8bo$38bo8bo$38b9o3$42b
4o$41b6o$40b2ob4o$41b2o!

User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Script request thread

Post by confocaloid » December 27th, 2024, 9:45 am

hotcrystal0 wrote:
December 27th, 2024, 9:36 am
Reposting this:
hotcrystal0 wrote:
December 27th, 2024, 9:34 am
Can someone create a script to generate such rules with three inputs: the rule when the background noise is off, the rule when it is on, and the background noise rule?
confocaloid wrote:
June 26th, 2024, 5:52 pm
marlow75 wrote:
June 26th, 2024, 11:55 am
[...] Another interesting improvement is the chaining of universes. A newborn cell is new in a Level 0 and Level 1 universe. A dying cell dies in Level 0 and Level 1. Somehow related universes last longer and produce new types of co-ops (level0 + level1) gliders and spaceships.
Related discussion:
Codependent Game of Life
MultipleB3S23
Wandering spaceships and manipulation via ruleswitches
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

Disaster16439
Posts: 291
Joined: June 30th, 2023, 9:17 am
Location: Teyvat

Re: Script request thread

Post by Disaster16439 » February 5th, 2025, 4:30 pm

Can someone create an apgsearch mod in python to search for orbits of the following 2c/5 puffer:

Code: Select all

 x = 15, y = 26, rule = B34q/S23-k
3b3o3b3o$3bobo3bobo$2bo3bobo3bo$b2ob2o3b2ob2o$2bo2bo3bo2bo3$3bo7bo$2bo
bo5bobo$b2o9b2o$b3o7b3o$o13bo$4b2o3b2o$5bo3bo$obo2b2ob2o2bobo$6bobo$2b
ob3ob3obo$2b2ob5ob2o$4bo5bo$2b2o7b2o$2b11o$4b7o2$6b3o$5b5o$4b3ob3o!
NOTE:USE PYTHON
So basically paste this onto a C1 soup and apg it.

Code: Select all

x=0,y=0,rule=B34q/S23-k
14b3o$13bo3bo$13b2ob2o9$15bo$15bo$b2o12bo12b2o$obo25bobo$o10b3o3b3o10b
o$obo25bobo$b2o12bo12b2o$15bo$15bo9$13b2ob2o$13bo3bo$14b3o!
[[ LOOP 200 THEME POISON AUTOSTART T 0 PAUSE 0.3 ]]
I’m sandless :D

User avatar
hotcrystal0
Posts: 4337
Joined: July 3rd, 2020, 5:32 pm
Location: wherever you think I am

Re: Script request thread

Post by hotcrystal0 » February 8th, 2025, 8:51 pm

A script that converts a ruletable with the “permute” symmetry to one with the “rotate4reflect” symmetry.

EDIT by dvgrn: Crossposting some notes about this from Discord:
- read the LifeSuper-or-whatever transition table, one line at a time;
- write out how ever many rotate4reflect transition lines are needed to be equivalent to each line.

It won't be the same number of lines every time -- depends on how many duplicate states there are in the list of neighbor states, for example.

Probably it's easiest to write the script in Python using itertools. The brute-force method will work fine: basically, just have the script generate every possible permutation of the eight neighbor state entries, define a canonical ordering for rotate4reflect, generate all rotations and reflections of each permutation, pick the canonical one out of the eight (the lexicographically smallest one, for example) and write it to the output rule table only if it hasn't already been written out.

There's a detail that makes it a bit harder to write a rotate4reflect conversion script that will always "Just Work" for any input permute-symmetry rule table. To do an efficient conversion, whenever multiple variables in a transition-table line resolve to the exact same list of states, the script will have to know that.

There are multiple possible syntaxes for defining variable a with the same list of states as variable b. It would require a significantly more complicated script to parse the variable definitions and do the right thing every time. So it might be a lot simpler to create just a "helper script" that produces a set of "rotate4reflect" output lines for each input "permute" line -- where the person running the script does a little extra work to say which variables are equivalent to each other.
wherever I go on the internet I bring with myself nothing but problems.

Code: Select all

x = 192, y = 53, rule = B3/S23
33$42b4o$41b6o$40b2ob4o$41b2o3$41b2o$39bo6bo$38bo8bo$38bo8bo$38b9o3$42b
4o$41b6o$40b2ob4o$41b2o!

User avatar
b-engine
Posts: 3746
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Script request thread

Post by b-engine » March 3rd, 2025, 2:00 am

Golly script that:

1. Scatter a random amount of blocks at random positions, X and Y range defined by input.
2. Send a glider from a random position towards the constellation.
3. Run for 10000 generations.
4. If the exact blockic constellation reappears (even when shifted), return to generation 0 and halt the script, leaving the pattern with the constellation and the glider. Else, return to generation 0, remove the glider, and repeat step 2 to 4.

unname4798
Posts: 2442
Joined: July 15th, 2023, 10:27 am
Location: On the highest skyscraper

Re: Script request thread

Post by unname4798 » March 6th, 2025, 1:25 pm

b-engine wrote:
March 3rd, 2025, 2:00 am
Golly script that:

1. Scatter a random amount of blocks at random positions, X and Y range defined by input.
2. Send a glider from a random position towards the constellation.
3. Run for 10000 generations.
4. If the exact blockic constellation reappears (even when shifted), return to generation 0 and halt the script, leaving the pattern with the constellation and the glider. Else, return to generation 0, remove the glider, and repeat step 2 to 4.
Step 3 is replaced with:
"3. Run until stabilization"

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

Re: Script request thread

Post by dvgrn » March 6th, 2025, 3:21 pm

b-engine wrote:
March 3rd, 2025, 2:00 am
If the exact blockic constellation reappears (even when shifted), return to generation 0 and halt the script, leaving the pattern with the constellation and the glider. Else, return to generation 0, remove the glider, and repeat step 2 to 4.
This is a fairly easy script to write. Unfortunately I suspect that everyone who might be likely to write it, is aware that the design spec as it's currently presented would be a very inefficient way to search for interesting single-glider collisions with Blockic constellations. So it probably won't get written as it stands.

1) A Golly script (i.e., Lua or Python) would probably be a couple of orders of magnitude slower than the best possible implementation. So you'd have to run it 100 times longer to find the same number of results as an optimized searcher.

2) After running the search for a few months or a few years, there would be no record of what search space had been covered -- and depending on the details, many configurations might have been tested dozens or hundreds of times each.

3) For any reasonable length of search, the expected amount of results that will be found is zero. A big question is: how long will anyone really be willing to run a speculative search that doesn't produce any definite results at all -- not even a report of how much space has been searched?

But that doesn't mean that something more workable couldn't be written!

Exhaustive enumeration

In the long run it might work much better to set up an enumeration of all possible glider collisions with all possible Blockic constellations inside an MxN rectangle. That way when a search run is complete, it will be possible to say definitely that

"No Blockic eaters or Blockic reflectors exist inside a 16x16 rectangle"

(or however far the enumeration extends before people get bored with running the tests.)

If a Golly script is really of interest here, I've already written non-optimized experimental code for the octohash-database project, that can easily be adapted to generate and test Blockic constellations. This code just needs to be adjusted slightly to reduce the number of objects -- i.e., delete out everything except the block! -- and increase the xsize, ysize, and MAXOBJ settings at the top.

Read through this 2020 negotiation with Hunting to get an understanding of what additional choices need to be made, and how to implement them in code.

User avatar
hth3
Posts: 362
Joined: February 15th, 2025, 10:04 am
Location: The Sun

Re: Script request thread

Post by hth3 » March 8th, 2025, 10:43 am

A script that you select a still life and it puts random soups around it and shows the results.
Can't trust someone who misspells typset as typeset.
Contribute to CheckerLife!
Oppose KOSA now, save the internet!
The Sandboxer Sandbox (Discord server)
RIP Unname New Web

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

Re: Script request thread

Post by dvgrn » March 8th, 2025, 10:57 am

hth3 wrote:
March 8th, 2025, 10:43 am
A script that you select a still life and it puts random soups around it and shows the results.
What would the script be looking for, exactly? Would there be a "successful result", and the script keeps trying random soups until it finds the first example? Would it collect statistics about how often the soup interacted with the still life in a certain way?

Depending on the answer, this script may already exist. Scorbie did a lot of catalyst testing some years ago; I haven't found the specific code that was used to do the testing, but I haven't looked very hard.

User avatar
hth3
Posts: 362
Joined: February 15th, 2025, 10:04 am
Location: The Sun

Re: Script request thread

Post by hth3 » March 9th, 2025, 6:57 am

A script which makes you select a glider collision and then it makes a c/10 construction based on it. For example, you input a 3g pentadecathlon synthesis and it makes a c/10 pentadecathlon puffer based on it.
Can't trust someone who misspells typset as typeset.
Contribute to CheckerLife!
Oppose KOSA now, save the internet!
The Sandboxer Sandbox (Discord server)
RIP Unname New Web

User avatar
b-engine
Posts: 3746
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Script request thread

Post by b-engine » March 15th, 2025, 12:43 am

dvgrn wrote:
March 6th, 2025, 3:21 pm
This is a fairly easy script to write. Unfortunately I suspect that everyone who might be likely to write it, is aware that the design spec as it's currently presented would be a very inefficient way to search for interesting single-glider collisions with Blockic constellations. So it probably won't get written as it stands.
The script doesn't necessarily work in environment of B3/S23. Certain other rules that support glider and block may have such reactions.

Disaster16439
Posts: 291
Joined: June 30th, 2023, 9:17 am
Location: Teyvat

Re: Script request thread

Post by Disaster16439 » March 19th, 2025, 6:41 pm

I don’t know how Corderman managed to corderize the switch engine, and if it would be even possible to corderize such a messy puffer, but I would like a apgsearch stdin script that tries to corderize the century in the OCA B34q/S23-k. I think just 2 centuries and a block in a stdin script would work. It would open up a new area in B34q/S23-k, and would be a new 5s speed.

Edit 1: And oh i forgot, I don’t know how to setup apgluxe and stuff, I need a Python script
My 205th post!

205=5*41

Code: Select all

x=0,y=0,rule=B34q/S23-k
14b3o$13bo3bo$13b2ob2o9$15bo$15bo$b2o12bo12b2o$obo25bobo$o10b3o3b3o10b
o$obo25bobo$b2o12bo12b2o$15bo$15bo9$13b2ob2o$13bo3bo$14b3o!
[[ LOOP 200 THEME POISON AUTOSTART T 0 PAUSE 0.3 ]]
I’m sandless :D

User avatar
islptng
Posts: 475
Joined: May 24th, 2024, 6:17 am
Location: 种花家

Re: Script request thread

Post by islptng » March 19th, 2025, 8:15 pm

PiSpaceships wrote:
March 19th, 2025, 1:11 pm
Make a Golly script that takes birth and survival conditions in INT format and returns the following 3-state rule:

-A cell is born in state 2 if it satisfy one of the birth conditions, checking only state 1 cells.
-A cell in state 2 turns into state 1 if it satisfy one of the survival conditons, checking only state 2 cells. Else, it dies.
-State 1 cell always dies.

So like Bb/S|B/Ss alternating rules, but patterns from otherwise uncompatible generations can coexist.
Try it online!
My sandbox | All my engineered replicators | TNT
Asperger, ISTP, using a Dvorak keyboard.

On March 2nd, I'll begin my time travel to July (at least on the Internet). During these time, I do not exist, so don't try to contact me. (Not a joke!)

User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Script request thread

Post by confocaloid » March 20th, 2025, 4:08 am

Disaster16439 wrote:
March 19th, 2025, 6:41 pm
I don’t know how Corderman managed to corderize the switch engine, and if it would be even possible to corderize such a messy puffer, but I would like a apgsearch stdin script that tries to corderize the century in the OCA B34q/S23-k. I think just 2 centuries and a block in a stdin script would work. It would open up a new area in B34q/S23-k, and would be a new 5s speed.

Edit 1: And oh i forgot, I don’t know how to setup apgluxe and stuff, I need a Python script
My 205th post!

205=5*41
Some manual exploration could work, methinks:

Code: Select all

x = 106, y = 79, rule = B34q/S23-k
58b2o$58bob2o$61bo$59b3o4$3b3o16b2o$22b2o3$9bo25b2o$3o6bo25b2o5b3o$9bo
$4bo$5bo$5bo$14b2o$13bo2bo$14b2o7$27b3o16b2o$46b2o3$33bo25b2o$24b3o6bo
25b2o5b3o$33bo$28bo$28bo21b2o$28bo21b2o3b2o$38b2o15b2o$37bo2bo$38b2o$
54b2o$53bo2bo$52bo2$53b3o2$70b2o$59b2o9b2o3$57bo$48b3o6bo21b2o9b3o$57b
o21b2o$52bo$52bo$52bo$62b2o$61bo2bo$62b2o10bo$74bo$74bo$99b2o$70b3o3b
3o20bobo$100b2o$74bo20bo$74bo19bobo$74bo4bo14bobo$79bo15bo$79bo2$75b3o
3b3o2$79bo14bobo6bo$79bo14bo2b2o3b3o$79bo17b2obobo2bo$94b2o2b3ob4o$94b
o3bobo2bo$95bo2bo2b3o$95bo2bo3bo$96b2o!
In the above pattern, select the century at the top (and nothing else), and press Shift+Space ("Advance outside selection") or Ctrl+Space ("Advance inside selection"); this will affect the result.

In addition to the advance selection/advance outside selection functionality, I'm using the following Golly scripts. (Without them, I would have to do alot of mouse-clicking and mouse-selecting and copy/pasting. With the scripts, I can do almost everything through the keyboard. I wouldn't be surprised if other people did independently invent/reinvent solutions to the same problems.)

All five files should go into a single directory. I suggest to make a separate subdirectory "shortcuts" for these five scripts, to avoid clutter.
Assigning the keyboard shortcuts mentioned in the comments should allow using "Ctrl+Space", "Shift+Space", "Alt+Left", "Alt+Right", "Alt+Up", "Alt+Down" to simplify constructing corderoid spaceships, manually testing collisions and other "similar" tasks.
OtherScripts/shortcuts/common.py wrote:

Code: Select all

import golly as g

# Used by altup.py, altdown.py, altleft.py, altright.py
# Move the selection by (dx, dy) and re-select it accordingly.
def moveselection(dx, dy):
   r = g.getselrect()
   s = (len(r) > 0)
   if not s:
      r = g.getrect()
   cells = g.getcells(r)
   g.putcells(cells, 0, 0, 1, 0, 0, 1, "xor")
   g.putcells(cells, dx, dy, 1, 0, 0, 1, "or")
   if s:
      r = [r[0] + dx, r[1] + dy, r[2], r[3]]
      g.select(r)
OtherScripts/shortcuts/altup.py wrote:

Code: Select all

# I'm using the keyboard shortcut "Alt+Up" for this one.
import golly as g
import common
common.moveselection(0, -1)
OtherScripts/shortcuts/altdown.py wrote:

Code: Select all

# I'm using the keyboard shortcut "Alt+Down" for this one.
import golly as g
import common
common.moveselection(0, 1)
OtherScripts/shortcuts/altleft.py wrote:

Code: Select all

# I'm using the keyboard shortcut "Alt+Left" for this one.
import golly as g
import common
common.moveselection(-1, 0)
OtherScripts/shortcuts/altright.py wrote:

Code: Select all

# I'm using the keyboard shortcut "Alt+Right" for this one.
import golly as g
import common
common.moveselection(1, 0)
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

User avatar
PiSpaceships
Posts: 218
Joined: January 17th, 2025, 12:20 pm

Re: Script request thread

Post by PiSpaceships » March 20th, 2025, 8:28 am

islptng wrote:
March 19th, 2025, 8:15 pm
Try it online!
It works perfectly! Thank you!
INACTIVE

User avatar
b-engine
Posts: 3746
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Script request thread

Post by b-engine » March 21st, 2025, 4:33 am

A Golly script that:
  • Place 2 gliders at random positions toward the input pattern.
  • Run the simulation and check if the population becomes periodic.
  • If the population becomes periodic, repeat the process. Else, if population is 0, rewind back to generation 0 (while preserving both the gliders and input) then halt.
Last edited by b-engine on March 21st, 2025, 5:53 am, edited 1 time in total.

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

Re: Script request thread

Post by dvgrn » March 21st, 2025, 4:50 am

b-engine wrote:
March 21st, 2025, 4:33 am
A Golly script that:
  1. Place 2 gliders at random positions toward the input pattern.
  • Run the simulation and check if the population becomes periodic.
  • If the population becomes periodic, repeat the process. Else, rewind back to generation 0 (while preserving both the gliders and input) then halt.
This is a pretty good "spec" for a script. Just to double-check -- is the script looking for blobs that emit BLSEs and GPSEs? It seems like that's what it's going to find, very regularly, so if those aren't interesting it would be good to add something to the spec to rule them out.

In the current form, this is also an easy script to write, to the point where somebody who needs a little Golly scripting practice should write it. I can help, if someone else puts the initial effort into it, but I'm not going to just write the whole thing.

Just like the last request along these lines, this would be an extremely inefficient way to find interesting things. Depending on the size of the area where gliders are placed, there will be equivalence classes of hundreds or thousands of pairs of gliders that ultimately do exactly the same thing. So this design is 1/100th or 1/1000th as effective as a script that generates and tests an exhaustive enumeration of glider pairs.

An exhaustive enumeration would take a while to run, but when it was done you could confidently say that there are no pairs of gliders within such-and-such MxN bounding box that result in an output pattern with non-periodic population.

User avatar
b-engine
Posts: 3746
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Script request thread

Post by b-engine » March 21st, 2025, 4:57 am

dvgrn wrote:
March 21st, 2025, 4:50 am
This is a pretty good "spec" for a script. Just to double-check -- is the script looking for blobs that emit BLSEs and GPSEs? It seems like that's what it's going to find, very regularly, so if those aren't interesting it would be good to add something to the spec to rule them out.

In the current form, this is also an easy script to write, to the point where somebody who needs a little Golly scripting practice should write it. I can help, if someone else puts the initial effort into it, but I'm not going to just write the whole thing.

Just like the last request along these lines, this would be an extremely inefficient way to find interesting things. Depending on the size of the area where gliders are placed, there will be equivalence classes of hundreds or thousands of pairs of gliders that ultimately do exactly the same thing. So this design is 1/100th or 1/1000th as effective as a script that generates and tests an exhaustive enumeration of glider pairs.

An exhaustive enumeration would take a while to run, but when it was done you could confidently say that there are no pairs of gliders within such-and-such MxN bounding box that result in an output pattern with non-periodic population.
I don't have tools and means to write a script.

This script is intended to search for a glider destruction of a pattern, not an exhaustive enumeration. However I forgot to add a condition to check if the population becomes 0.

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

Re: Script request thread

Post by dvgrn » March 21st, 2025, 5:08 am

b-engine wrote:
March 21st, 2025, 4:57 am
This script is intended to search for a glider destruction of a pattern, not an exhaustive enumeration. However I forgot to add a condition to check if the population becomes 0.
It's always good to say in your spec what the script is supposed to be used for. Can you update your original post? Population 0 seems like a really important detail.

Why don't you have the tools to write a script? If you can run a Golly script, you can write a Golly script -- all you need is a text editor, like Notepad on Windows. Technically you could even write a script in a code block in one of these forum messages. It's a really handy thing to learn how to do -- and maybe more importantly, once you have a little practice writing scripts, you'll be able to write script-request specs that look more interesting to other people, so that they're more likely to get implemented.

We've had gameoflifeboy's 1G destruction script for a long time now, and honestly we're long overdue for a 2G destruction script. If someone starts a thread to try to collaboratively produce a script like that, it might really get some contributions -- especially if the thread owner (could be anyone, not necessarily b-engine) makes a good initial effort on the coding.

Yoel
Posts: 463
Joined: July 2nd, 2020, 1:02 am
Location: Electronic jungle
Contact:

Re: Script request thread

Post by Yoel » March 24th, 2025, 9:05 pm

I see references to shipcolls in this thread, but I was not able to find this software. Can anyone provide a download link, please?

User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Script request thread

Post by confocaloid » March 25th, 2025, 2:29 am

Yoel wrote:
March 24th, 2025, 9:05 pm
I see references to shipcolls in this thread, but I was not able to find this software. Can anyone provide a download link, please?
It is probably this (to be compiled with g++ and used with apgluxe compiled for a "stdin" census):
viewtopic.php?p=135476#p135476
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

Yoel
Posts: 463
Joined: July 2nd, 2020, 1:02 am
Location: Electronic jungle
Contact:

Re: Script request thread

Post by Yoel » March 26th, 2025, 4:48 pm

confocaloid wrote:
March 25th, 2025, 2:29 am
Yoel wrote:
March 24th, 2025, 9:05 pm
I see references to shipcolls in this thread, but I was not able to find this software. Can anyone provide a download link, please?
It is probably this (to be compiled with g++ and used with apgluxe compiled for a "stdin" census):
viewtopic.php?p=135476#p135476
Wow, what an esoteric hack, I love it! Thank you very much!

User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Script request thread

Post by confocaloid » March 26th, 2025, 5:25 pm

Yoel wrote:
March 26th, 2025, 4:48 pm
[...] Wow, what an esoteric hack, I love it! [...]
Recent events are visible on the page https://catagolue.hatsya.com/census but for anyone else interested, the idea is that if apgsearch is compiled for a target census name that contains "stdin" as a substring (for example "stdin_test" or "test_stdin"), then instead of autogenerating soups and evolving and censusing them, the program will expect RLEs to be given through the standard input, and will evolve and census the input patterns.

I think the "stdin" functionality is significantly less esoteric, compared to the local jargon often incorrectly referring to Catagolue/apgsearch census names as "symmetries" regardless of whether or not it has anything to do with symmetry. (That includes G* and H* censuses which do not add any new symmetry types but instead have to do with GPU searching, that includes the "8x32", "4x64", "2x128", "1x256" censuses which are for specific soup sizes rather than symmetry types, that includes "inflated soups" (iC1, iiC1 and so on), and that also includes various "stdin" and "test" censuses which typically aren't about symmetry.)
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

User avatar
dl-rs
Posts: 247
Joined: April 11th, 2022, 12:14 am
Location: I was just a block until a glider crashes with me and I tumbled onto Earth surface in LWSS form.
Contact:

Re: Script request thread

Post by dl-rs » March 29th, 2025, 8:28 am

Can anybody help me with a C++ function to input any stable bool[][] 2d list(or as .cells) and output the standard RLE of it?
Roaming OCA randomly.

Code: Select all

x = 23, y = 11, rule = B2n3-jknr4ky5-eqry6ik7c8/S234cktwz5ai6-ci7c
2bo2b3o2bo7bo2bo$b2ob5ob2o6b2ob2o$2bo2b3o2bo7bo2bo4$10b2o$b3o5bobo$2o
b2o4b3o$b3o5bobo$10b2o!

Citation needed
Posts: 682
Joined: April 1st, 2021, 1:03 am

Re: Script request thread

Post by Citation needed » May 6th, 2025, 6:29 am

Are there Python functions for Golly that can simulate each of these commands without putting a size limit (the grammar can be different but it should be easy to learn)? "showinviewer.lua" is in Lua, but it unfortunately also had the size limit from LifeViewer, and ColorfulGalaxy knows nothing about Lua.

Code: Select all

PASTE
PASTET (EVERY)
PASTEMODE
PASTEDELTA
PASTE RANDCELLS (unfortunately LifeViewer can't repeat pasting random cells indefinitely, pasting different cells each time)
T (and other waypoints features)
X
Y
Z
ANGLE
TILT (this one may be difficult)
PAUSE
LINEAR ALL
COLOR
T COLOR (or COLORT. LifeViewer can't do this!)
LABEL
LABELT
LABELALPHA
LABELANGLE
LABELDELTA
POLYGON, POLYGONT (and other annotations)
GPS (I do hope non-integer values are supported. I also hope that GPS and STEP can coexist, which won't work in LifeViewer.)
STEP
NOTHROTTLE
Last edited by Citation needed on May 6th, 2025, 9:37 am, edited 1 time in total.

Post Reply