Skip to main content

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

The humation-1 asset pack (86 hand-drawn SVG parts plus manifest) for the humation avatar engine. Embedded as pure Dart, so it works on the server and the web with no asset loading.

example/README.md

Example #

Load the bundled humation-1 manifest and render an avatar with the engine.

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

void main() {
  final manifest = humation1Manifest; // 86 parts, decoded lazily on first use

  final svg = createAvatar(
    manifest,
    const CreateAvatarOptions(seed: 'felix'),
  ).toSvg();

  print(svg.length);
}

In a Flutter app you usually do not add this directly: humation_flutter already bundles it as the default pack.

0
likes
150
points
15
downloads

Documentation

API reference

Publisher

verified publisher0xharkirat.com

Weekly Downloads

The humation-1 asset pack (86 hand-drawn SVG parts plus manifest) for the humation avatar engine. Embedded as pure Dart, so it works on the server and the web with no asset loading.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#avatar #svg #assets

License

MIT (license)

Dependencies

humation

More

Packages that depend on humation_assets_humation_1