graphics

package
v0.0.0-...-b43b1af Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GIF_DELAY = 100
)

Variables

View Source
var (
	NeighborOffset = [4][2]int{{0, 1}, {-1, 0}, {0, -1}, {1, 0}}
)

Functions

func DrawReplay

func DrawReplay(saveData *polytopiamapmodel.PolytopiaSaveOutput, outputFilename string)

func SaveImage

func SaveImage(outputFilename string, im image.Image)

Types

type MapCoordinates

type MapCoordinates struct {
	Coordinates [2]int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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