View Source IdenticonGenerator (identicon_generator v0.1.0)
Rules for generating an identicon. 250x250px image composed by 25 50x50px squares. The left side of the identicon is always mirrored to the right side.
Link to this section Summary
Functions
Returns a list of lists representing a grid.
Returns a list generated from the input
given.
Returns a list. The second index of row
is appended as the third index. The first index of row
is appended as the fourth index.
Returns a new struct from image
and color
.
Saves the image
with the filename
given.
Link to this section Functions
Returns a list of lists representing a grid.
Returns a list generated from the input
given.
examples
Examples
iex> IdenticonGenerator.create_hash("John")
[97, 64, 154, 161, 253, 71, 212, 165, 51, 45, 226, 60, 191, 89, 163, 111]
Returns a list. The second index of row
is appended as the third index. The first index of row
is appended as the fourth index.
Returns a new struct from image
and color
.
Saves the image
with the filename
given.