Pseudorandom pixel art avatar generator.
npm i bit-face --save
import getAvatar form "bit-face";
await getAvatar('seed_1337', 1);
// return data:image/png;base64 ...
The second argument is gender.
1 - male
2 - female
img {
image-rendering: pixelated;
}
This project is licensed under the MIT License - see the LICENSE.md file for details