noise

package module
v0.0.0-...-c80296f Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 3 Imported by: 0

README

gonoise

Go Reference

A basic library for making 2D noise with Go Graphics https://github.com/fogleman/gg

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawNoise2D

func DrawNoise2D(n *Noise, c *gg.Context)

func DrawNoise2D_RGB

func DrawNoise2D_RGB(r *Noise, g *Noise, b *Noise, c *gg.Context)

Types

type Noise

type Noise struct {
	Elements [][]uint8
	Height   int
	Width    int
}

func MakeNoise2D

func MakeNoise2D(w int, h int) *Noise

Jump to

Keyboard shortcuts

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