jQuery/JavaScript Library for avatar creation?(用于创建头像的 jQuery/JavaScript 库?)
问题描述
有人知道可以创建 Pixelart 头像的 JavaScript 或 jQuery 库吗?我希望使用组件创建具有 Mr. Potatohead 风格的面孔并生成 GIF.
Is anyone aware of a JavaScript or jQuery library that enables the creation of Pixelart avatars? I'm hoping for something with a Mr. Potatohead style face creation using components and resulting in a GIF.
如果没有,我想我需要自己制作一个.
If not, I guess I'll need to make one myself.
推荐答案
你可以试试Blockies.
它的使用非常简单(来自 README):
Its usage is pretty simple (from the README):
其中 icon
是一个画布元素.
where icon
is a canvas element.
但是,您无法真正计划要获得什么:您最终会得到一个随机图标,除非您指定生成它的种子.
You can't really plan what you're going to get, though: you just end up with a random icon unless you specify a seed to generate it from.
这篇关于用于创建头像的 jQuery/JavaScript 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!