coinop-logan/phace - version: 3.0.1

for more information visit the package's GitHub page

Package contains the following modules:

Phace

A phace is an identicon styled to look like a face. This package generates phaces from elm-ethereum addresses or hexadecimal strings.

alt text

Each character in the provided string or address is interpreted as a hex value (0-15), then used to generate colors and points. The algorithm consumes characters from both ends of the string (face/eyes/mouth from the beginning, hair from the end). In the end, 34 characters are consumed. In the case of an Ethereum address, this leaves 6 characters near the middle of the string unused.