Documentation ¶
Index ¶
- func Clamp[T float64 | int | uint](value, max, min T) T
- func ClampMax[T float64 | int | uint](value, max T) T
- func CreateGrid(width, height int) [][]color.Color
- func DecodeSource(file io.Reader) (*image.RGBA, string, error)
- func EncodeGridResult(result [][]color.Color, format string) (io.Reader, string, error)
- func EncodeResult(img *image.RGBA, format string) (io.Reader, string, error)
- func GetAperture(axisValue, axisMax, apertureMin, apertureMax int) (int, int)
- func GetCoordinates(pixel, width int) (int, int)
- func GetPixPerThread(pixLen, threads int) int
- func GetPixel(x, y, width int) int
- func GetThreads() int
- func GradientPoint(axisValue, shift, axisLength int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGrid ¶ added in v2.0.4
func EncodeGridResult ¶
func GetAperture ¶
func GetCoordinates ¶
func GetPixPerThread ¶ added in v2.0.4
func GetThreads ¶ added in v2.0.4
func GetThreads() int
func GradientPoint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.