Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Iterations int Width int Height int PolygonSidesMin int PolygonSidesMax int PolygonFillChance float64 PolygonColorChance float64 PolygonSizeRatio float64 PixelShake float64 Greyscale bool }
Params represents the configuration of a sketch.
type Sketch ¶
type Sketch struct { Params // contains filtered or unexported fields }
Sketch draws onto a destination image from a source image.
Click to show internal directories.
Click to hide internal directories.