Documentation ¶
Index ¶
- func MainRandomWalk(width, height, steps int)
- func PrintRandomWalk(cgol *core.CellularAutomata[bool])
- func RandomWalk(width, height, steps int) *core.CellularAutomata[bool]
- func RandomWalkRuleSet(cell *core.Cell[bool], neighbors []*core.Cell[bool]) *core.Cell[bool]
- func RandomWalkToTimage(cgol *core.CellularAutomata[bool], current core.Coordinate, scale int, ...) *image.Gray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainRandomWalk ¶
func MainRandomWalk(width, height, steps int)
func PrintRandomWalk ¶
func PrintRandomWalk(cgol *core.CellularAutomata[bool])
func RandomWalk ¶
func RandomWalk(width, height, steps int) *core.CellularAutomata[bool]
func RandomWalkRuleSet ¶
pick a neighbor randomly as the next place to go and set that state to true
func RandomWalkToTimage ¶
func RandomWalkToTimage(cgol *core.CellularAutomata[bool], current core.Coordinate, scale int, filepath string) *image.Gray
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.