voxel-art¶
Exact style-specific options from the bundled definition. Use these alongside the shared avatar options and core API. Back to the style catalog and licenses.
local dicebear = require('love_dicebear')
local svg, settings = dicebear.generate('voxel-art', {seed = 'player-42'})
local options = dicebear.describe('voxel-art').options
Components¶
beard¶
- Variant option:
beardVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
beardProbability. Range 0–100; default 20.
| Variant | Tags |
|---|---|
full |
facialHair |
goatee |
facialHair |
mustache |
facialHair |
stubble |
facialHair |
cheeks¶
- Variant option:
cheeksVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
cheeksProbability. Range 0–100; default 60.
| Variant | Tags |
|---|---|
blush |
— |
freckles |
— |
pixel |
— |
eyebrows¶
- Variant option:
eyebrowsVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
eyebrowsProbability. Range 0–100; default 85.
| Variant | Tags |
|---|---|
angry |
mood:negative |
flat |
mood:positive |
raised |
mood:positive |
soft |
mood:negative |
eyes¶
- Variant option:
eyesVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
eyesProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
closed |
— |
happy |
— |
open |
— |
side |
— |
sleepy |
— |
soft |
— |
star |
— |
wide |
— |
glasses¶
- Variant option:
glassesVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
glassesProbability. Range 0–100; default 15.
| Variant | Tags |
|---|---|
cat |
eyewear:glasses |
round |
eyewear:glasses |
shades |
eyewear:sunglasses |
square |
eyewear:glasses |
visor |
eyewear:sunglasses |
mouth¶
- Variant option:
mouthVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
mouthProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
bigSmile |
— |
flat |
— |
frown |
mood:negative |
grin |
— |
laugh |
mood:positive |
ooh |
— |
smile |
mood:positive |
smirk |
mood:positive |
tongue |
mood:positive |
wideSmile |
mood:positive |
nose¶
- Variant option:
noseVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
noseProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
block |
— |
small |
— |
tall |
— |
wide |
— |
outfit¶
- Variant option:
outfitVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
outfitProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
checker |
— |
coat |
— |
dress |
— |
hoodie |
— |
jacket |
— |
overalls |
— |
plain |
— |
stripes |
— |
suit |
— |
tie |
— |
top¶
- Variant option:
topVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
topProbability. Range 0–100; default 96.
| Variant | Tags |
|---|---|
afro |
hairLength:short |
animalEars |
headwear |
beanie |
headwear:beanie |
bob |
hairLength:medium |
bowl |
hairLength:medium |
braids |
hairLength:long |
bunnyEars |
headwear |
buns |
— |
cap |
headwear:cap |
curly |
hairLength:short |
halfShaved |
hairLength:short |
longStraight |
hairLength:long |
longWavy |
hairLength:long |
mohawk |
hairLength:short |
partedLong |
hairLength:long |
ponytail |
— |
short |
hairLength:short |
shoulderLength |
hairLength:medium |
sideSwept |
hairLength:short |
spiky |
hairLength:short |
twinTails |
hairLength:long |
Color palettes¶
Each option accepts a hex color or palette array. An empty table is transparent. Bundled contrast and exclusion rules can affect the seeded choice.
backgroundColor¶
#b6e3f4, #c0aede, #d1d4f9, #ffd5dc, #ffdfbf
hairColor¶
#2c222b, #3b2f2f, #533629, #7a3307, #966951, #c9853f, #eec985, #efe1a9, #b55239, #d6455d, #6d5acf, #3fb27f
hatColor¶
#c68a5f, #f2f2f2, #8d95d6, #e0876d, #5ba8a0, #d9a03c, #a06fb8, #4a6fa5
jacketColor¶
#f8f9fa, #343a40, #3b5b8c, #6b4f3a, #b55239, #5ba8a0
pantsColor¶
#3b5b8c, #2f4160, #4a4e69, #6b4f3a, #495057, #7a86a8
shirtColor¶
#e64980, #f76707, #fab005, #40c057, #12b886, #228be6, #4c6ef5, #7950f2, #e8590c, #495057
shoesColor¶
#f1f3f5, #343a40, #d6336c, #1971c2, #f08c00, #6741d9
skinColor¶
#f5d0b0, #eab890, #dda878, #c99062, #b07347, #95562f, #7d4a26, #6a3d1f
Animation¶
Enable all selected artwork timelines with animation = true, or control a named timeline:
| Timeline | Switch | Speed | Delay |
|---|---|---|---|
blink |
blinkAnimation |
blinkAnimationSpeed |
blinkAnimationDelay |
stretch |
stretchAnimation |
stretchAnimationSpeed |
stretchAnimationDelay |
Some artwork variants may be static. See animation options and native playback.