imagegenerator

package
v0.0.0-...-e6422fb Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewImage

func CreateNewImage(x, y int) *image.NRGBA

func CreateNewImageAndPoints

func CreateNewImageAndPoints(x, y int) (*image.NRGBA, []*image.Point)

func CreatePoints

func CreatePoints(newImage *image.NRGBA) (points []*image.Point)

func RandomCoin

func RandomCoin() int

Types

type ImageGenerator

type ImageGenerator interface {
	GenerateNextState()
	GetImageFromCurrentState() image.Image
}

Jump to

Keyboard shortcuts

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