# README
Content of the subdirectory article_15
-
Examples used in the following article Programovací jazyk Go a grafika: tvorba animovaných GIFů, grafická knihovna GG
-
This article is part of the serie about Go programming language Programovací jazyk Go
- Blending using the standard draw package
- Export RGBA image into GIF
- Export small RGBA image 1x1 pixel into GIF
- Export small paletted image 1x1 pixel into GIF
- Chessboard with two colors, export to GIF
- Palleted version of the previous example
- Conversion from RGBA to paletted image
- Simple animation - blinking square
- Animated chessboard
- Default disposal method
- Disposal method - background
- Disposal method - none
- Animated progress bar
- Basic usage of GG library
- Context properties
- Stroke path
- Fill in background with solid color
- Set RGBA color (with alpha)
- Set line width
- Set line dash
# 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.