Kategorien, Pakete und Repositories suchen

GitHub-Repositorysaytoonz/random_avatar

random_avatar

Random Avatar ist ein Multikultur-Avatar-Maker. 12 Milliarden einzigartige multikulturelle Avatare

Projektcover von random_avatar
Sterne
59
Forks
17
Letzter Push (UTC)
12.12.2023
Projektstatus
Aktiv

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

random_avatar

Flutter Wrapper for Multiavatar

Multiavatar is a multicultural avatar maker.

Random Avatar represents people from multiple races, multiple cultures, multiple age groups, multiple worldviews and walks of life.

In total, it is possible to generate 12,230,590,464 unique avatars.

Installation and usage

Add random_avatar to your pubspec:

dependencies:
  random_avatar: any # or the latest version on Pub

get avatar string

String svgCode = RandomAvatarString('saytoonz');

get avatar string with transparent background

String svgCode = RandomAvatarString('saytoonz', trBackground: true);

get avatar svg widget

Widget svgCode = RandomAvatar('saytoonz', height: 50, width: 50);

get avatar svg widget with transparent background

Widget svgCode = RandomAvatar('saytoonz', trBackground: true, height: 50, width: 50);

check the example (https://github.com/saytoonz/random_avatar/tree/main/example)

Info

To create new avatars, the Multiavatar mixes different parts of different avatars, and different color themes.

The total number of unique avatars: 48^6 = 12,230,590,464

One of the main Multiavatar functions is to work as an identicon. Every unique avatar can be identified by the unique string of characters, associated with the avatar.

The string of characters is also the input for the Multiavatar package, which converts the provided string into a 6 double-digit numbers (range 00-47), each representing an individual part of the final avatar.

000000000000 - this string of numbers represents the very first avatar + its A theme. You can also read it like this: 00 00 00 00 00 00.

474747474747 - this is the 12,230,590,464th avatar (or the 16th initial avatar + its "C" color theme).

More info can be found in the random_avatar.dart file comments.

License

A Dart implementation based on multiavatar script for Flutter apps.

Screenshots

Visitors Count

Loading
Samuel Annin Yeboah GitHub avatar
GitHub-Autor

Samuel Annin Yeboah ↗

Loves Music

Nsromapa CorporationGhanaOffizielle Website ↗
SprachenDartC++CMakeHTMLSwiftCKotlinObjective-C

Kategorien

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 4 Einträge

  • flutter{"sdk":"flutter"}
  • crypto^3.0.2
  • flutter_svg^2.0.0+1
  • flutter_testEntwicklung{"sdk":"flutter"}

Wie wähle ich ein passendes Repository?

Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.

  1. Nach Name, Autor oder Beschreibung suchen und nach Thema eingrenzen.
  2. Sterne, Forks und letzte Pushes vergleichen. Sterne zeigen Interesse, garantieren aber keine Qualität.
  3. Vor der Nutzung README, Lizenz und Issues auf GitHub prüfen.

Quellen und Pflege

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗