renderer

package
v0.0.0-...-4840561 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateImage

func GenerateImage(matrix [][]int, pixelSize int, metadata map[string]int, destination string) (*image.RGBA, string)

GenerateImage saves a PNG from the cellular automata's matrix

func GenerateText

func GenerateText(matrix [][]int, metadata map[string]int) string

GenerateText Prints the cellular automata to the console

func GenerateTitle

func GenerateTitle(metadata map[string]int) string

func GetImageName

func GetImageName(metadata map[string]int) string

GetImageName from number of states, order, and rule number

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL