dylan¶
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('dylan', {seed = 'player-42'})
local options = dicebear.describe('dylan').options
Components¶
facialHair¶
- Variant option:
facialHairVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
facialHairProbability. Range 0–100; default 20.
| Variant | Tags |
|---|---|
default |
facialHair |
hair¶
- Variant option:
hairVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
hairProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
bangs |
hairLength:medium |
buns |
— |
flatTop |
hairLength:short |
fluffy |
hairLength:medium |
longCurls |
hairLength:medium |
parting |
hairLength:short |
plain |
hairLength:short |
roundBob |
hairLength:long |
shaggy |
hairLength:long |
shortCurls |
hairLength:short |
spiky |
hairLength:short |
wavy |
hairLength:short |
mood¶
- Variant option:
moodVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
moodProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
angry |
mood:negative |
confused |
mood:negative |
happy |
mood:positive |
hopeful |
mood:positive |
neutral |
— |
sad |
mood:negative |
superHappy |
mood:positive |
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¶
#29e051, #619eff, #ffa6e6
hairColor¶
#000000, #1d5dff, #ff543d, #fff500, #ffffff
skinColor¶
#c26450, #ffd6c0