@avatar-generator/style-animals
v3.1.0
Published
Cute animal face avatar style for @avatar-generator/core
Maintainers
Readme
@avatar-generator/style-animals
Animals avatar style for @avatar-generator/core.
Cute animal avatars (cat, dog, fox, panda, …).
Install
npm install @avatar-generator/core @avatar-generator/style-animalsUsage
import { createAvatar } from "@avatar-generator/core";
import { animals } from "@avatar-generator/style-animals";
const avatar = createAvatar(animals, {
seed: "[email protected]",
size: 64,
});
img.src = avatar.toDataUri();Options left unset are chosen deterministically from the seed. See the API reference for every option this style accepts, or the configurator to try them interactively.
Documentation
Full documentation: avatar-generator.hugoogb.dev
License
MIT © Hugo García Benjumea
