@avatar-generator/style-illustrated
v3.1.0
Published
Detailed cartoon faces avatar style for @avatar-generator/core
Maintainers
Readme
@avatar-generator/style-illustrated
Illustrated avatar style for @avatar-generator/core.
Detailed cartoon faces with accessories.
Install
npm install @avatar-generator/core @avatar-generator/style-illustratedUsage
import { createAvatar } from "@avatar-generator/core";
import { illustrated } from "@avatar-generator/style-illustrated";
const avatar = createAvatar(illustrated, {
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
