Documentation
¶
Overview ¶
Package cameron implements an avatar generator for Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Identicon ¶
Identicon returns an identicon avatar as an image.Image that is visually identical to https://github.com/identicons/{login}.png. All geometric rules, color calculations, and pixel layouts match the implementation GitHub uses in production.
Note that the final image is a square of 6*cell pixels: five grid columns/rows plus a half-cell margin on every side.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.