GliderDB Reader

For scripts to aid with computation or simulation in cellular automata.
Post Reply
lemon41625
Posts: 356
Joined: January 24th, 2020, 7:39 am
Location: 小红点 (if you know where that is)

GliderDB Reader

Post by lemon41625 » April 10th, 2024, 1:50 am

I've finally gotten around to updating the GliderDB reader and the new link is here https://gliderdb-reader.vercel.app/. The code can be found at https://github.com/jedlimlx/gliderdb-reader.

Also B0 rules are now supported for the 5S database queries.

Hopefully I'll have more time to update it regularly now that I have graduated from high school, although I have to spend 2 years in compulsory military service before I can finally go to university. :(
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...

User avatar
confocaloid
Posts: 3080
Joined: February 8th, 2022, 3:15 pm

Re: GliderDB Reader

Post by confocaloid » April 10th, 2024, 2:15 am

lemon41625 wrote:
April 10th, 2024, 1:50 am
I've finally gotten around to updating the GliderDB reader and the new link is here https://gliderdb-reader.vercel.app/. [...]
For me, the link opens a blank page where nothing happens. Does anyone see a working page?
edit: it seems to work after reopening and waiting for several minutes.

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

Re: GliderDB Reader

Post by lemon41625 » April 10th, 2024, 2:21 am

confocaloid wrote:
April 10th, 2024, 2:15 am
lemon41625 wrote:
April 10th, 2024, 1:50 am
I've finally gotten around to updating the GliderDB reader and the new link is here https://gliderdb-reader.vercel.app/. [...]
For me, the link opens a blank page where nothing happens. Does anyone see a working page?
edit: it seems to work after reopening and waiting for several minutes.
yes, it does take some time to load because it needs to load the entirety of the multiple GliderDBs for each neighbourhood and number of states as well as the 5S databases.
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...

User avatar
H. H. P. M. P. Cole
Posts: 154
Joined: July 15th, 2023, 9:36 pm
Location: Error: 'H. H. P. M. P. Cole' has no attribute 'location'.

Re: GliderDB Reader

Post by H. H. P. M. P. Cole » April 10th, 2024, 2:30 am

lemon41625 wrote:
April 10th, 2024, 2:21 am
confocaloid wrote:
April 10th, 2024, 2:15 am
lemon41625 wrote:
April 10th, 2024, 1:50 am
I've finally gotten around to updating the GliderDB reader and the new link is here https://gliderdb-reader.vercel.app/. [...]
For me, the link opens a blank page where nothing happens. Does anyone see a working page?
edit: it seems to work after reopening and waiting for several minutes.
yes, it does take some time to load because it needs to load the entirety of the multiple GliderDBs for each neighbourhood and number of states as well as the 5S databases.
Which neighbourhood and number of states does the new GliderDB have? Also thank you very much for adding some of my discoveries into the GliderDB.
Harfordson Parker-Cole

Factorio

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

Re: GliderDB Reader

Post by lemon41625 » April 10th, 2024, 2:38 am

H. H. P. M. P. Cole wrote:
April 10th, 2024, 2:30 am
Which neighbourhood and number of states does the new GliderDB have?
Previously I was maintaining a database of ships in 2-state R2 Von Neumann, R2 Moore and 3-state generations rules. I haven't updated them in quite awhile though. I'll probably make a thread for them some time soon (likely when I finish rewriting cfind) and if there's sufficient interest in these databases, maybe I'll consider having other neighbourhoods and including 4-state generations rules as well.

Also the database includes Nasvadi's R1 Von Neumann database and May13's R1 Hex database.
H. H. P. M. P. Cole wrote:
April 10th, 2024, 2:30 am
Also thank you very much for adding some of my discoveries into the GliderDB.
Did I?
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...

Sokwe
Moderator
Posts: 2690
Joined: July 9th, 2009, 2:44 pm

Re: GliderDB Reader

Post by Sokwe » April 10th, 2024, 3:57 am

lemon41625 wrote:
April 10th, 2024, 1:50 am
I've finally gotten around to updating the GliderDB reader and the new link is here https://gliderdb-reader.vercel.app/. The code can be found at https://github.com/jedlimlx/gliderdb-reader.
Here's a bug: it seems that you are still required to input a valid velocity, even when the "Ignore Velocity" box is checked. Likewise for the rule.
-Matthias Merzenich

User avatar
confocaloid
Posts: 3080
Joined: February 8th, 2022, 3:15 pm

Re: GliderDB Reader

Post by confocaloid » April 10th, 2024, 4:11 am

Sokwe wrote:
April 10th, 2024, 3:57 am
Here's a bug: it seems that you are still required to input a valid velocity, even when the "Ignore Velocity" box is checked. Likewise for the rule.
That's a known bug, which is if I remember correctly because the code attempts to guess which rulespace and database to use, based on the input.

If you enter "B2/S2" as the rulestring and check "Ignore Rule", it will search for gliders of the specified speed (e.g. c/4) in Life-like CA.
If you enter "B2/S2H" as the rulestring and check "Ignore Rule", it will search for gliders of the specified speed in range-1 hexagonal outer-totalistic CA.
If you enter "B2/S2V" as the rulestring and check "Ignore Rule", it will search for gliders of the specified speed in range-1 von Neumann outer-totalistic CA.
So it doesn't really ignore the rulestring completely, but uses it to guess the rulespace/database.
lemon41625 wrote:
April 10th, 2024, 2:21 am
yes, it does take some time to load because it needs to load the entirety of the multiple GliderDBs for each neighbourhood and number of states as well as the 5S databases.
Would it be possible in future to split this into several different pages, one per rulespace/database? That could make it faster to load, and avoid the need to "guess" the rulespace from the input (simplifying the user interface).
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.

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

Re: GliderDB Reader

Post by lemon41625 » April 10th, 2024, 4:22 am

confocaloid wrote:
April 10th, 2024, 4:11 am
lemon41625 wrote:
April 10th, 2024, 2:21 am
yes, it does take some time to load because it needs to load the entirety of the multiple GliderDBs for each neighbourhood and number of states as well as the 5S databases.
Would it be possible in future to split this into several different pages, one per rulespace/database? That could make it faster to load, and avoid the need to "guess" the rulespace from the input (simplifying the user interface).
Hmm I suppose that could work, although I'm not sure if that would prevent the code from loading all the databases at once because they would still be located under the same static site. I'll work on it another day.
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...

Post Reply