Erlang Graphical Drawer
Erlang Graphical Drawer is an interface for 2d-image rendering and is used by Percept to generate dynamic graphs to its web pages. All code is pure erlang, no drivers needed.
Build
$ rebar3 compile
Posted on July 13, 2021
I was following an identicon
generation tutorial using Elixir.
The project was a bit older and used egd
as if it was available by default in the project.
Erlang Graphical Drawer is an interface for 2d-image rendering and is used by Percept to generate dynamic graphs to its web pages. All code is pure erlang, no drivers needed.
$ rebar3 compile
I discovered egd
is not part of the standard library anymore. One needs to install it separately in Elixir.
mix local.rebar --force
defp deps do
[
{:egd, github: "erlang/egd"}
# ...
]
end
mix deps.get
I hope that helps.
Posted on July 13, 2021
Sign up to receive the latest update from our blog.