Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIconBytes ¶
Generate Icon Bytes with target address @param address: the target eth address needed to create identicon @return target image bytes
func CreateIconPng ¶
Generate Icon png and save to target path @param path: full path to save png @param address: the target eth address needed to create identicon
========================================================================
========================================================================
Types ¶
type HSL ¶
type HSL struct { // Hue [0, 360] H uint32 // Saturation [0, 100] S uint32 // Lightness [0, 100] L uint32 }
HSL is a color model representation based on RGB. HSL facilitates the generation of colors that look similar between themselves by changing the value of Hue H while keeping Saturation S and Lightness L the same.
type IconOptions ¶
type IconOptions struct {
// contains filtered or unexported fields
}
func NewBuildOption ¶
func NewBuildOption(seed string) IconOptions
Click to show internal directories.
Click to hide internal directories.