Skip to content

Nemethe/bit-face

Repository files navigation

bit-face

Pseudorandom pixel art avatar generator.

avatars examples

Installation

npm i bit-face --save

Usage

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;
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Pseudorandom pixel art avatar generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published