Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
DarkColors are dark colors for avatar blocks, they come from image/color/palette.WebSafe, and light colors (0xff) are removed
Functions ¶
This section is empty.
Types ¶
type Identicon ¶
type Identicon struct {
// contains filtered or unexported fields
}
Identicon is used to generate pseudo-random avatars
func New ¶
New returns an Identicon struct with the correct settings size image size back background color fore all possible foreground colors. only one foreground color will be picked randomly for one image
Source Files
¶
- block.go
- colors.go
- identicon.go
- polygon.go
Click to show internal directories.
Click to hide internal directories.