synthesis

package module
v0.0.0-...-05b5ed5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: MIT Imports: 7 Imported by: 0

README

texture-synthesis

Example based texture synthesis, based on EmbarkStudios/texture-synthesis project but in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator contains information required for generation

func New

func New() *Generator

New creates a new generator

func (*Generator) Generate

func (g *Generator) Generate(seed int) error

Generate perfoms the generation with the supplied random seed

func (*Generator) Load

func (g *Generator) Load(filename string) error

Load loads the source image from disk

func (*Generator) Save

func (g *Generator) Save(filename string) error

Save saves the generated image to disk

Directories

Path Synopsis
cmd
gen

Jump to

Keyboard shortcuts

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