Triangular neighbourhood: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m shed the red
No edit summary
Line 12: Line 12:
{{Nbh-demo |r = 1 |n = @58L |z = 8 |w = 100 |h = 100}}
{{Nbh-demo |r = 1 |n = @58L |z = 8 |w = 100 |h = 100}}


==Software support==
== Software support ==
[[LifeViewer]] natively supports the three aforementioned triangular neighbourhoods using 2 states. For triangles pointing down the following neighbourhood is used on a square tiling:
[[LifeViewer]] natively supports the three aforementioned triangular neighbourhoods using 2 states. For triangles pointing down the following neighbourhood is used on a square tiling:


[[File:Triangular neighbourhood (radius 1).png|150px]]
[[File:Emulated triangular neighbourhood (range 1).png|150px]]


For triangles pointing up the above neighbourhood is flipped vertically.
For triangles pointing up the above neighbourhood is flipped vertically.
Line 27: Line 27:
[[Tim Hutton]]'s Fredkin replicator rule generation script also divides cells into two triangles, and uses T for triangular von Neumann and TM for triangular Moore.
[[Tim Hutton]]'s Fredkin replicator rule generation script also divides cells into two triangles, and uses T for triangular von Neumann and TM for triangular Moore.


==Symmetries==
== Symmetries ==
{{main|Symmetry}}
{{main|Static symmetry}}
{{main|Kinetic symmetry}}
The triangular tiling shares its symmetries with that of the hexagonal tiling, and thus features a different set of inherent symmetries than the [[Moore]] and [[von Neumann]] neighborhoods when dealing with [[isotropic]] rules:
The triangular tiling shares its symmetries with that of the hexagonal tiling, and thus features a different set of inherent symmetries than the [[Moore]] and [[von Neumann]] neighborhoods when dealing with [[isotropic]] rules:


Line 46: Line 47:
* D12
* D12


==See also==
== See also ==
* [[Neighbourhood]]
* [[Neighbourhood]]
** [[Hexagonal neighbourhood]]
** [[Hexagonal neighbourhood]]
Line 54: Line 55:
* [[Zone of influence]]
* [[Zone of influence]]


==References==
== References ==
<references>
<references>
<ref name="post137325">{{LinkForumThread
<ref name="post137325">{{LinkForumThread
Line 65: Line 66:
</references>
</references>


==External links==
== External links ==
{{LinkWikipedia|Triangular_tiling|name=Triangular tiling}}
{{LinkWikipedia|Triangular_tiling|name=Triangular tiling}}


__NOTOC__
__NOTOC__

Revision as of 08:38, 11 January 2022

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)
x=1, y = 1, rule = R1,C0,S,B1,NL o! #C [[ GRID GRIDMAJOR 0 STARTFROM 1 NOREPORT NOGUI ZOOM 8 WIDTH 100 HEIGHT 100 ]] #C [[ COLOR GRID 192 192 192 COLOR BACKGROUND 255 255 255 COLOR ALIVE 192 192 239 COLOR DEAD 0 0 0 ]]
  • The 9-cell triangular vertices neighbourhood
x=1, y = 1, rule = R2,C0,S,B1,N@06E5C0L o! #C [[ GRID GRIDMAJOR 0 STARTFROM 1 NOREPORT NOGUI ZOOM 8 WIDTH 100 HEIGHT 100 ]] #C [[ COLOR GRID 192 192 192 COLOR BACKGROUND 255 255 255 COLOR ALIVE 192 192 239 COLOR DEAD 0 0 0 ]]
  • The 6-cell triangular outer neighbourhood
  • The 6-cell triangular inner neighbourhood
  • The 3-cell triangular edges neighbourhood (sometimes referred to as the Triangular von Neumann neighbourhood).
x=1, y = 1, rule = R1,C0,S,B1,N@58L o! #C [[ GRID GRIDMAJOR 0 STARTFROM 1 NOREPORT NOGUI ZOOM 8 WIDTH 100 HEIGHT 100 ]] #C [[ COLOR GRID 192 192 192 COLOR BACKGROUND 255 255 255 COLOR ALIVE 192 192 239 COLOR DEAD 0 0 0 ]]


Software support

LifeViewer natively supports the three aforementioned triangular neighbourhoods using 2 states. For triangles pointing down the following neighbourhood is used on a square tiling:

File:Emulated triangular neighbourhood (range 1).png

For triangles pointing up the above neighbourhood is flipped vertically.

B0 emulation, Alternating rules and Generations are also supported.

In B/S notation, Triangular rules are notated with an L, LE or LV suffix for Triangular, Triangular Edges and Triangular Vertices neighbourhoods respectively (e.g. B456/S34L). X is used for 10, Y for 11 and Z for 12. This notation avoids conflicts with isotropic non-totalistic rules on the Moore neighbourhood. However, in higher-range outer-totalistic notation, only L is supported to follow N for Triangular; LV and LE should instead be replaced with weighted neighbourhoods.[1]

TriLife.zip is available on Golly's online pattern archive, and simulates 2-state triangular outer-totalistic moore rules using 4 states, dividing each square cell into two triangles. A is used for 10, B for 11 and C for 12.

Tim Hutton's Fredkin replicator rule generation script also divides cells into two triangles, and uses T for triangular von Neumann and TM for triangular Moore.

Symmetries

Main article: Static symmetry
Main article: Kinetic symmetry

The triangular tiling shares its symmetries with that of the hexagonal tiling, and thus features a different set of inherent symmetries than the Moore and von Neumann neighborhoods 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

References

  1. ↑ Chris Rowett (November 5, 2021). Re: Pattern viewer for forum threads (discussion thread) at the ConwayLife.com forums