Documentation
¶
Index ¶
- Variables
- func CrystalGrid(width, height int) *core.Grid[bool]
- func CrystalRuleSet(cell *core.Cell[bool], neighbors []*core.Cell[bool]) *core.Cell[bool]
- func CrystalToImage(crystal *core.CellularAutomata[bool], filepath string) *image.RGBA
- func Crystals(width, height, steps int) *core.CellularAutomata[bool]
- func MainCrystal(width, height, steps int, initConfig []core.Coordinate)
Constants ¶
This section is empty.
Variables ¶
View Source
var CenterConfig []core.Coordinate = []core.Coordinate{{0, 0}}
Functions ¶
func CrystalRuleSet ¶
func CrystalToImage ¶
func MainCrystal ¶
func MainCrystal(width, height, steps int, initConfig []core.Coordinate)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.