texturing

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRGB

func AddRGB(colors ...color.Color) color.Color

func BoxBlur

func BoxBlur(src image.Image) image.Image

func BoxBlurNTimes

func BoxBlurNTimes(src image.Image, iterations int) image.Image

func Convolve

func Convolve(src image.Image, f func(x, y int, values []color.Color))

[0][1][2] [3][4][5] [6][7][8]

func GaussianBlur

func GaussianBlur(src image.Image) image.Image

func MultiplyRGBByConstant

func MultiplyRGBByConstant(c color.Color, amount float64) color.Color

func ToNormal

func ToNormal(src image.Image) image.Image

Types

This section is empty.

Jump to

Keyboard shortcuts

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