Micah
This implementation is a remix of Avatar Illustration System by Micah Lanier. Licensed under CC BY 4.0.
LICENSE
While our code is MIT licensed, the design is licensed under CC BY 4.0. See details for more information.
Usage
Options
seed
Typestring
The seed determines the initial value for the built-in PRNG. With the PRNG you can create the same avatar over and over again based.
flip
Typeboolean
rotate
Typeinteger
Minimum 0
Maximum 360
scale
Typeinteger
Minimum 0
Maximum 200
radius
Typeinteger
Minimum 0
Maximum 50
size
Typeinteger
Minimum 1
backgroundColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
backgroundType
Typearray
backgroundRotation
Typearray
Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as the rotation degree. The rotation is only visible if backgroundType
is set to ['gradientLinear']
.
translateX
Typeinteger
Minimum -100
Maximum 100
translateY
Typeinteger
Minimum -100
Maximum 100
clip
Typeboolean
randomizeIds
Typeboolean
This option randomize the IDs in the generated SVG / XML. This can be useful for example if the avatars are included directly in the HTML and you want to avoid ID collisions.
base
Typearray
baseColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
earringColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
earrings
Typearray
earringsProbability
Typeinteger
Minimum 0
Maximum 100
ears
Typearray
eyeShadowColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
eyebrows
Typearray
eyebrowsColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
eyes
Typearray
eyesColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
facialHair
Typearray
facialHairColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
facialHairProbability
Typeinteger
Minimum 0
Maximum 100
glasses
Typearray
glassesColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
glassesProbability
Typeinteger
Minimum 0
Maximum 100
hair
Typearray
hairColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
hairProbability
Typeinteger
Minimum 0
Maximum 100
mouth
Typearray
mouthColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
nose
Typearray
shirt
Typearray
shirtColor
Typearray
Item Pattern ^(transparent|[a-fA-F0-9]{6})$
Details
Naming | |
---|---|
Collection Import |
|
Package Import |
|
CLI |
|
HTTP-API | https://api.dicebear.com/7.x/micah/svg |
JSON Schema | https://api.dicebear.com/7.x/micah/schema.json |
Source | |
---|---|
Title | Avatar Illustration System |
Creator | Micah Lanier |
Website | https://dribbble.com/micahlanier |
License | CC BY 4.0 |
Source | https://www.figma.com/community/file/829741575478342595 |