0.0.1 • Published 6 years ago
avatar-hash v0.0.1
Installation
<script src='https://unpkg.com/avatar-hash@latest/dist/avatar-hash.js'></script>
<div class="avatar"></div>
Usage
<script>
new AvatarHash('my text').render(document.querySelector('.avatar'))
</script>
Contributing
The "api" is totally customizable, so you can contribute with a design pack for what you want, people, monsters, animals, houses..
- Create folders with the shapes name. Eg:
hair
,mouth
, ... - Name the file with the folder name and include a version number. Eg:
hair-01
- Edit the config file and add your new theme. (Set the name, colors and shapes order)
Author
Lúcio Rubens luciorubeens@gmail.com
Similar Tools
This project was based on nimiq/robohash.
License
MIT © Lúcio RUbens
0.0.1
6 years ago