注册
登录
pytorch
>>
gridy-avatars
>>
返回
项目作者:
darosh
项目描述 :
SVG avatars generator
高级语言:
JavaScript
项目主页:
https://darosh.github.io/gridy-avatars/dist/
项目地址:
git://github.com/darosh/gridy-avatars.git
创建时间:
2018-04-05T23:28:58Z
项目社区:
https://github.com/darosh/gridy-avatars
开源协议:
MIT License
下载
Gridy Avatars
SVG avatars generator
Demo
Try randomize button
here
.
Usage
see exported API in
./src/avatars.js
use
./dist/avatars.js
see
./dist/index.html
for example usage (with Vue.js)
Development
yarn
edit
./src/avatars.svg
in Inkscape (use one
layer
per feature)
npm run dev
copy generated shapes from dev web app to
./shapes.json
npm run build
Notes
8
6
= 262.144 variants
based on 24×24 pixels grid
using Material Design colors (generated in
./src/colors.js
)
no transparent colors
utilizing SVG clipPaths (with fully opaque colors)
no dependencies
inspired by
Gabfranck/svg_avatar