Documentation ¶
Index ¶
- func Dim1Grid[T comparable](length int, defaultState T, neighborsFunc core.GetNeighborsFunc) *core.Grid[T]
- func Dim2Grid[T comparable](width, height int, defaultState T, neighborsFunc core.GetNeighborsFunc) *core.Grid[T]
- func Dim3Grid[T comparable](x, y, z int, defaultState T, neighborsFunc core.GetNeighborsFunc) *core.Grid[T]
- func InitCube(width, height, depth, aliveState int, c *core.CellularAutomata[int])
- func InitSphere(width, height, depth, aliveState int, c *core.CellularAutomata[int])
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dim1Grid ¶
func Dim1Grid[T comparable](length int, defaultState T, neighborsFunc core.GetNeighborsFunc) *core.Grid[T]
func Dim2Grid ¶
func Dim2Grid[T comparable](width, height int, defaultState T, neighborsFunc core.GetNeighborsFunc) *core.Grid[T]
func Dim3Grid ¶
func Dim3Grid[T comparable](x, y, z int, defaultState T, neighborsFunc core.GetNeighborsFunc) *core.Grid[T]
func InitSphere ¶
func InitSphere(width, height, depth, aliveState int, c *core.CellularAutomata[int])
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.