Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.21 KB

File metadata and controls

36 lines (24 loc) · 1.21 KB

Identicon

This is a simple implementation of an identicon generator in Elixir. An identicon is a visual representation of a hash value, often used as a unique avatar for users.

Prerequisites

This project uses ASDF for tool version management. The required versions are defined in .tool-versions:

  • Elixir 1.19.5 (OTP 28)
  • Erlang 28.3.1

Install the required versions with:

asdf install

Usage

To generate an identicon, you can use the Identicon module in an Elixir script or the interactive shell (IEx):

# Generate an identicon for the string "example"
Identicon.main("example")

This will create the ./images/example.png PNG image file, containing the generated identicon.

License

This project is released into the public domain under the Unlicense.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or improvements.

Acknowledgments