Thumbs
Thumbs by DiceBear, licensed under CC0 1.0 .
LICENSE
While our code is MIT licensed, the design of this avatar style is licensed under CC0 1.0. See details for more information.
Usage
Options
seed
string
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
boolean
rotate
integer
0
360
scale
integer
0
200
radius
integer
0
50
size
integer
1
backgroundColor
array
^(transparent|[a-fA-F0-9]{6})$
backgroundType
array
backgroundRotation
array
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
integer
-100
100
translateY
integer
-100
100
clip
boolean
randomizeIds
boolean
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.
eyes
array
eyesColor
array
^(transparent|[a-fA-F0-9]{6})$
face
array
faceOffsetX
array
2
Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as offset.
faceOffsetY
array
2
Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as offset.
faceRotation
array
2
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.
mouth
array
mouthColor
array
^(transparent|[a-fA-F0-9]{6})$
shape
array
shapeColor
array
^(transparent|[a-fA-F0-9]{6})$
shapeOffsetX
array
2
Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as offset.
shapeOffsetY
array
2
Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as offset.
shapeRotation
array
2
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.
Details
Naming | |
---|---|
Collection Import |
|
Package Import |
|
CLI |
|
HTTP-API | https://api.dicebear.com/9.x/thumbs/svg |
JSON Schema | https://api.dicebear.com/9.x/thumbs/schema.json |
Source | |
---|---|
Title | Thumbs |
Creator | DiceBear |
Website | https://www.dicebear.com |
License | CC0 1.0 |
Source | https://www.dicebear.com |