package
Version:
v0.0.0-...-80579e6
Opens a new window with list of versions in this module.
Published: Sep 4, 2023
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func RenderPNG(inputFile, outputFile, imageFile, shape, effect string, scale float64)
-
func RenderSVG(inputFile, outputFile, imageFile, shape string)
-
func RunAlgorithm(imageFile, outputFile string, numPoints uint, shape string, mutations uint, ...)
func RenderPNG(inputFile, outputFile, imageFile, shape, effect string, scale float64)
RenderPNG renders a triangulation to a PNG.
func RenderSVG(inputFile, outputFile, imageFile, shape string)
RenderSVG renders a triangulation to a SVG.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.