/identicon

Elixir project to generate random image avatars based on a 5x5 grid of squares, each square of 50px tall and wide

Primary LanguageElixir

Identicon

Module used to generate an avatar image (Identicon) based on the string provided

Installation

If available in Hex, the package can be installed by adding identicon to your list of dependencies in mix.exs:

def deps do
  [
    {:identicon, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/identicon.

Example

iex(1)> Identicon.main("banana")
:ok

This will generate a .png file (banana.png) with the Identicon generated.

Example of Identicon