Triangular neighbourhood: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
→Software support: up/down triangle neighbourhoods
Line 13: Line 13:


==Software support==
==Software support==
These triangular neighbourhoods are supported in [[LifeViewer]] from build 320. Triangular tiling is dealt with using 2 states and the following neighbourhood on a square tiling:
These triangular neighbourhoods are supported in [[LifeViewer]] from build 320 using 2 states. For triangles pointing down the following neighbourhood is used on a square tiling:


[[File:Triangular neighbourhood (radius 1).png|150px]]
[[File:Triangular neighbourhood (radius 1).png|150px]]
For triangles pointing up the above neighbourhood is reflected through the y-axis.


B0 emulation, [[Alternating rule|Alternating rules]] and [[Generations]] are also supported.
B0 emulation, [[Alternating rule|Alternating rules]] and [[Generations]] are also supported.

Revision as of 17:35, 8 April 2019

The triangular neighbourhood is the set of all cells that are adjacent to the region of interest in a grid tiled with triangles (the region of interest itself may or may not be considered part of the triangular neighbourhood, depending on context).

The triangular neigbourhood can either refer to:

  • The 12-cell triangular neighbourhood (sometimes referred to as the Triangular Moore neighbourhood)

File:Triangular12.png

  • The 9-cell triangular vertices neighbourhood

File:Triangular9.png

  • The 3-cell triangular edges neighbourhood (sometimes referred to as the Triangular von Neumann neighbourhood).

File:Triangular3.png

The triangular tiling shares its symmetries with that of the hexagonal tiling.

Software support

These triangular neighbourhoods are supported in LifeViewer from build 320 using 2 states. For triangles pointing down the following neighbourhood is used on a square tiling:

File:Triangular neighbourhood (radius 1).png

For triangles pointing up the above neighbourhood is reflected through the y-axis.

B0 emulation, Alternating rules and Generations are also supported.

TriLife.zip is available on Golly's online pattern archive, and simulates 2-state triangular outer-totalistic rule's using 4 states, dividing each square cell into two triangles.

Symmetries

Main article: Symmetry

The triangular neighbourhood relies on a different grid than the Moore and von Neumann neighborhoods and thus features a different set of inherent symmetries when dealing with isotropic rules:

  • Asymmetric (C1, 8x32, 4x64, 2x128, 1x256)
  • C2_1
  • C2_4
  • C3_1
  • C3_3
  • C6
  • D2_xo
  • D2_x
  • D4_x1
  • D4_x4
  • D6_1
  • D6_1o
  • D6_3
  • D12

See also