Documentation ¶
Index ¶
- func BoxBlur(src image.Image) image.Image
- func BoxBlurNTimes(src image.Image, iterations int) image.Image
- func Convolve(src image.Image, f func(x, y int, values []color.Color))
- func ConvolveArray[T any](arr [][]T, f func(x, y int, kernel []T))
- func GaussianBlur(src image.Image) image.Image
- func SimpleEdgeTest(kernel []color.Color) bool
- func ToNormal(src image.Image) *image.RGBA
- type DebugUVTexture
- type SeamlessPerlinNode
- type SeamlessPerlinNodeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvolveArray ¶ added in v0.9.0
func SimpleEdgeTest ¶ added in v0.9.0
Types ¶
type DebugUVTexture ¶ added in v0.10.0
type DebugUVTexture struct { ImageResolution int BoardResolution int PositiveCheckerColor color.Color NegativeCheckerColor color.Color XColorScale color.Color YColorScale color.Color }
func (DebugUVTexture) Image ¶ added in v0.10.0
func (duvt DebugUVTexture) Image() image.Image
type SeamlessPerlinNode ¶ added in v0.17.0
type SeamlessPerlinNode = nodes.StructNode[image.Image, SeamlessPerlinNodeData]
type SeamlessPerlinNodeData ¶ added in v0.17.0
type SeamlessPerlinNodeData struct { Positive nodes.NodeOutput[coloring.WebColor] Negative nodes.NodeOutput[coloring.WebColor] }
Click to show internal directories.
Click to hide internal directories.