humation 0.1.0 copy "humation: ^0.1.0" to clipboard
humation: ^0.1.0 copied to clipboard

Deterministic hand-drawn kawaii avatar engine for Dart. One seed in, one avatar out. Pure Dart, no Flutter, no network, no AI.

example/README.md

Example #

Generate an avatar as an SVG string. Pure Dart, no Flutter.

import 'package:humation/humation.dart';
import 'package:humation_assets_humation_1/humation_assets_humation_1.dart';

void main() {
  final svg = createAvatar(
    humation1Manifest,
    const CreateAvatarOptions(seed: 'felix'),
  ).toSvg();

  print(svg); // a self-contained <svg> ... </svg> string
}

Add the engine and an artwork pack:

dependencies:
  humation: ^0.1.0
  humation_assets_humation_1: ^0.1.0

For a Flutter widget instead of an SVG string, use humation_flutter.

0
likes
160
points
34
downloads

Documentation

API reference

Publisher

verified publisher0xharkirat.com

Weekly Downloads

Deterministic hand-drawn kawaii avatar engine for Dart. One seed in, one avatar out. Pure Dart, no Flutter, no network, no AI.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#avatar #svg #identicon #deterministic

License

MIT (license)

More

Packages that depend on humation