Difference between revisions of "Hexagonal neighbourhood"
(Make image size consistent)
|Line 63:||Line 63:|
|[[File:Hexagonal (range 2).png|
|[[File:Hexagonal (range 2).png||left|The range 2 hexagonal neighbourhood of a single cell]]
|[[File:Hexagonal (range 3).png|
|[[File:Hexagonal (range 3).png||left|The range 3 hexagonal neighbourhood of a single cell]]
Revision as of 09:12, 21 November 2020
The hexagonal neighbourhood is the set of all cells that are adjacent to the region of interest in a grid tiled with hexagons (the region of interest itself may or may not be considered part of the hexagonal neighbourhood, depending on context). Currently, these rules are partially supported by both Golly and apgsearch. These rules are typically notated using the H suffix (e.g. B2/S34H).
LifeViewer supports outer-totalistic hexagonal rules and uses a hexagonal grid. LifeViewer also supports isotropic non-totalistic hexagonal rulestrings from build 313, and supports hexagonal Higher-range outer-totalistic (including Larger than Life) rules.
Golly simulates hex rules using a variant of the Moore neighbourhood which ignores the bottom-left and top-right cells in the neighbourhood and includes special cell icons shaped like slanted hexagons which resemble a hexagonal grid when placed together. They both also have the ability to support Generations variants of hexagonal rules. In addition, hexagonal Higher-range outer-totalistic (including Larger than Life) rules are supported from v4.0 onwards.
apgsearch and Catagolue also support the hexagonal neighbourhood. They support hexagonal Generations rules, but they also support isotropic non-totalistic rules (see Generalizations below). As of version 4.71, all possible symmetries are available for searching except for C3_3 and D6_3 (see Symmetries below).
- Main article: Isotropic non-totalistic Life-like cellular automaton
Like in the Moore neighborhood, isotropic cellular automata using the hexagonal neighbourhood can be defined using a notation devised by Paul Callahan which represent the relative permutations of the cells using the letters o, m, and p. These stand for ortho, meta, and para respectively and were chosen in analogy to arene substitution patterns in aromatic chemistry.
As mentioned above, Golly also has the ability to support outer-totalistic Generations rules using the hexagonal grid. Larger than Life and BSFKL rules are also possible, but they are not currently supported by apgsearch as of November 2020. However, LifeViewer and Golly support Larger than Life rules in this neighbourhood.
A subset of the hexagonal range 1 neighbourhood known as the tripod neighbourhood has also been investigated.
The hexagonal neighbourhood can be defined with a higher range; that is, so that it captures cells that are further than one cell away from the region of interest. The higher range hexagonal neighbourhood take the shape of a symmetric honeycomb  and the number of cells in a range n hexagonal neighbourhood has the formula 3n(n+1).
- Main article: Symmetry
- Asymmetric (C1, 8x32, 4x64, 2x128, 1x256)
- C3_3 (unsupported by apgsearch)
- D6_3 (unsupported by apgsearch)
All of these are currently supported by both lifelib and apgsearch, except for D6_3 and C3_3. Catagolue's /hashsoup endpoint currently does not understand any of the C3, C6, D6 or D12 symmetries, but the samples soups can nonetheless be correctly retrieved using lifelib's pattern.download_samples() function.
Hexagonal rules can also support gutter symmetry, however apgsearch does not support searching with these.
- Zone of influence
- List of hexagonal neighbourhood rules investigated on Catagolue
- Chris Rowett (March 17, 2019). Re: Pattern viewer for forum threads (discussion thread) at the ConwayLife.com forums
- QuickLife at Golly's online help
- Adam P. Goucher (December 20, 2018). Re: apgsearch v4.0 (discussion thread) at the ConwayLife.com forums
- Connor Steppie (January 15, 2020). "C3_3 and D6_3 hex symmetries are not supported". GitLab.
- Paul Callahan (December 3, 1997). "Experiments with a somewhat "Life-like" hexagonal CA (long)". Retrieved on December 8, 2018.
- "ExtendedCallahanHexagonal.gif". ConwayLife.com forums. Retrieved on December 8, 2018.
- EricG (September 9, 2012). Triangular & Tripod von Neuman neighborhoods (discussion thread) at the ConwayLife.com forums
- 'muzik' (December 5, 2018). Re: Non-totalistic hex rules (discussion thread) at the ConwayLife.com forums
- Hexagonal tiling at Wikipedia