This application generates a dummy image like Github and Stackoverflow do when there is no profile picture added by the user. It is called Identicon.
To run this open your elixir console and type
Identicon.main("user_name")
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.
Structs - Elixir's Data Modeling Tool 46. Giving an Identicon Shape 47. Planning Image Creation 48. Creating the Pixel Map 49. Drawing Rectangles
Explore :esd module for image creation. Find ways to change version of Elixir as :esd is not supported by Elixir 1.5
Explore 'asdf' packages manager