You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
4 years ago | |
---|---|---|
lib | 4 years ago | |
test | 4 years ago | |
Elixir.png | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
example.png | 4 years ago | |
mix.exs | 4 years ago |
README.md
Identicon
a cute little idea stolen from rbishop. provides a function for generating an "identicon" (an icon produced from the hash of a given string). please feel free to steal from me as well! ^_^
this version is a little cleaner and uses softer, "web-safe" foreground colours on a customisable background.
compile in the usual manner:
mix deps.get
mix compile
and then if you just want to test it out (with your name or whatever XD), try something like:
iex -S mix
iex(1)> File.write "Elixir.png", Identicon.gen("Elixir", {36, 32, 36})
which produces: