logic

package
v0.0.0-...-603b709 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderPNG

func RenderPNG(inputFile, outputFile, imageFile, shape, effect string, scale float64)

RenderPNG renders a triangulation to a PNG.

func RenderSVG

func RenderSVG(inputFile, outputFile, imageFile, shape string)

RenderSVG renders a triangulation to a SVG.

func RunAlgorithm

func RunAlgorithm(imageFile, outputFile string, numPoints uint, shape string, mutations uint,
	variation float64, population, cache, cutoff, block, repetitions, threads uint)

RunAlgorithm runs an algorithm, saves the output, and prints statistics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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