Identicon

Demo

Demo identicon on some words

bananaIdenticon of bananacocoIdenticon of coco
Jennifer JohnsonIdenticon of Jennifer JohnsonAnna SmithIdenticon of Anna Smith

Installation

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

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

Notes

EGD - Erlang Graphical Drawer

:egd is no longer available in Elixir OTP, so to get around this

mix.exs:

{:egd, github: "erlang/egd"}

To install dependencies:

mix deps.clean --all
mix deps.get
mix deps.compile

Generate docs

mix.exs:

{:ex_doc, "~> 0.12"}
mix docs

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

License & copyright

Copyright © 2022 Sudip Roy, All Rights Reserved

Licensed under the MIT License