rendering

package
v0.0.0-...-2f90b60 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Maze

func Maze(opts MazeOptions)

Maze renders a maze object by drawing closed sides for each portion of the maze, rendering to an output file

Types

type MazeOptions

type MazeOptions struct {
	BackgroundColor, BorderColor color.Color
	CellWidth, CellHeight        float64
	FileName                     string
	Maze                         types.Maze
}

MazeOptions contain the data that is used to alter the output of the Maze rendering function

Jump to

Keyboard shortcuts

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