Glider.db: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Confocal (talk | contribs)
Created page with "{{Glossary}}{{stub}} '''glider.db''' is a database of known gliders in Life-like rules, created and originally maintained by David Eppstein. An online form-based interface to access the database was available at {{filename|fano.ics.uci.edu/ca/}} until {{year|2018}}-{{year|2019}}, when the Fano server went permanently offline.<ref name="fano_ca_archived" /><ref name="post128859" /> An updated version of the database can now be accessed via a replacem..."
 
Confocal (talk | contribs)
Line 80: Line 80:
__NOTOC__
__NOTOC__
[[Category:Pattern collections and databases]]
[[Category:Pattern collections and databases]]
[[Category:Software]]
[[Category:Spaceships]]
[[Category:Spaceships]]
[[Category:Life-like cellular automata| ]]
[[Category:Life-like cellular automata| ]]

Revision as of 21:02, 28 November 2022

This article is a stub. You can help LifeWiki by expanding it.

glider.db is a database of known gliders in Life-like rules, created and originally maintained by David Eppstein. An online form-based interface to access the database was available at fano.ics.uci.edu/ca/ until 2018-2019, when the Fano server went permanently offline.[1][2] An updated version of the database can now be accessed via a replacement online search utility created in 2021.[3][4]

An updated version of the database

A web app is available to search an updated version of glider.db, as well as several other databases.[3][4]

Note that even when the "Ignore Rule" / "Ignore Velocity" checkbox is checked, it is still necessary to enter a valid rulestring / velocity string, so that the program knows whether to search the oscillator / gliderdb and which rulespace to search.[4]

File format

The database is a plain-text file, with one glider encoded per line. As an example, below are the lines describing the glider and the lightweight spaceship from Conway's Game of Life:[5]

Glider:John Conway, 1970:B3/S23:B3678/S0235678:4/2:-1:-1:3:3:bo$o$3o!
Lightweight Spaceship:John Conway, 1970:B3/S23:B3468/S2378:4/2:-2:0:5:4:bo2bo$o$o3bo$4o!

Below is a copy of the description included in the header of the database:[5]

# glider.db
# David Eppstein, UC Irvine Dept. Inf. & Comp. Sci.
#
# format:
# each line consists of various fields separated by colons --
#    name:discoverer:minrule:maxrule:period:dx:dy:x:y:rle
# blank lines and lines beginning with '#' are ignored
#
# name and discoverer are arbitrary text
# minrule and maxrule are of the form B3/S23
# period is either a number or number/2 (e.g. life glider is period 4/2)
# dx and dy are the amounts the pattern moves in a single period
# x and y are the dimensions of the rle pattern
#
# There are far too many gliders known even just in life to just list
# them all (in fact, there are usually infinitely many types of gliders
# whenever there is any).  The primary reason for including a glider in
# this list is to cover every known combination of speed and rules.
# Secondarily, I am also including particularly small gliders, or
# gliders that work unchanged in many different rules.

References

  1. ↑ David Eppstein. "Gliders in Life-Like Cellular Automata". Fano Experimental Web Server. (archived copy; alternative link)
  2. ↑ Re: Catagolue Suggestions Thread (discussion thread) at the ConwayLife.com forums
  3. ↑ 3.0 3.1 gliderdb-searcher
  4. ↑ 4.0 4.1 4.2 Re: Spaceships in Life-like cellular automata (discussion thread) at the ConwayLife.com forums
  5. ↑ 5.0 5.1 "glider.db". Archived from the original on 2022-11-04.

See also