-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random seed #8
Comments
Hey @stevenleeg, thanks for the feedback, I think that's a good idea. However, unfortunately I don't have bandwidth to do this for now. If you can open a new PR for it, I am happy to review it. |
Hey, Here's my implementation:
Note that the seed is expected to be a large hexadecimal string - by large I mean at least 12 pairs of hex characters (see seeded avataaat implementation as to why or how it's used). |
@elis your implementation looks good. What is exactly your mapping 1 bytes => 1 attribute? I think it would be interesting if empty/blank attributes would show up when a byte is 0x00. What do you think would be the right distribution of the different items. Show every item the same number of times? PS: Your current implementation shows styles at the beginning of the list more often than the ones at the end, because how you use the modulo "%". |
You could use https://avatars.dicebear.com. Support for avatars has been added recently. |
@FlorianKoerner @fangpenlin @elis Is there still interest in a PR to do something like this? (In a client-only fashion). |
You can also use DiceBear Avatars without HTTP API / Web Request. You just have to install the NPM packages. |
Didn't know that, thanks 🙏 . |
Hey there!
This library looks amazing and I'm about to implement it into a project now. Any chance you'd be interested in having an avatar generated given a seed phrase? It could look something like this:
Any time
Avatar
received that seed string it would output the same avatar, similar to the way you can replicate Minecraft worlds by providing it with the same seed phrase upon generation.Awesome work and thanks for building this!!
The text was updated successfully, but these errors were encountered: