Documentation
¶
Index ¶
- func AcornConfig(width, height int) []core.Coordinate
- func BasicSeedConfig(width, height int) []core.Coordinate
- func CGOLToImage(cgol *core.CellularAutomata[bool], filepath string, scale int) *image.Gray
- func ConwayGameOfLife(width, height, steps int) *core.CellularAutomata[bool]
- func ConwayGrid(width, height int) *core.Grid[bool]
- func ConwayRuleSet(cell *core.Cell[bool], neighbors []*core.Cell[bool]) *core.Cell[bool]
- func GliderConfig(width, height int) []core.Coordinate
- func MainConway(width, height, steps int, initConfig []core.Coordinate)
- func MainSeeds(width, height, steps int, initConfig []core.Coordinate)
- func PrintCGOL(cgol *core.CellularAutomata[bool])
- func Seeds(width, height, steps int) *core.CellularAutomata[bool]
- func SeedsRuleSet(cell *core.Cell[bool], neighbors []*core.Cell[bool]) *core.Cell[bool]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcornConfig ¶
func AcornConfig(width, height int) []core.Coordinate
func BasicSeedConfig ¶
func BasicSeedConfig(width, height int) []core.Coordinate
func CGOLToImage ¶
func ConwayGameOfLife ¶
func ConwayGameOfLife(width, height, steps int) *core.CellularAutomata[bool]
func ConwayRuleSet ¶
func GliderConfig ¶
func GliderConfig(width, height int) []core.Coordinate
func MainConway ¶
func MainConway(width, height, steps int, initConfig []core.Coordinate)
func MainSeeds ¶
func MainSeeds(width, height, steps int, initConfig []core.Coordinate)
func PrintCGOL ¶
func PrintCGOL(cgol *core.CellularAutomata[bool])
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.