package
1.0.1
Repository: https://github.com/tisnik/go-root.git
Documentation: pkg.go.dev

# README

# Functions

Abs computes absolute value for given signed integer.
CreateChessboard function draws chessboard onto the test image.
CreateChessboard function draws chessboard onto the test image.
CreateChessboard function draws chessboard onto the test image.
No description provided by the author
No description provided by the author
CreateImage function creates a new RGBA image with resolution width x height.
CreateImage function creates a new image with color palette and with resolution width x height.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateStringArt functions draws a so-called string art into the test image https://en.wikipedia.org/wiki/String_art.
DrawHorizontalLine draws horizontal line from [x1,y] to [x2,y] by specified color.
DrawLine draws line from [x1,y1] to [x2,y2] by specified color.
DrawVerticalLine draws vertical line from [x,y1] to [x,y2] by specified color.
Step computes whether the horizontal/vertical step should be positive or negative.

# Constants

BoardSize represents size of chessboard being rendered.
BoardSize represents size of chessboard being rendered.
BoardSize represents size of chessboard being rendered.
BoardSize represents size of chessboard being rendered.
BoardSize represents size of chessboard being rendered.