glyphs¶
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('glyphs', {seed = 'player-42'})
local options = dicebear.describe('glyphs').options
Components¶
shape¶
- Variant option:
shapeVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
shapeProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
variant01 |
— |
variant02 |
— |
variant03 |
— |
variant04 |
— |
variant05 |
— |
variant06 |
— |
variant07 |
— |
variant08 |
— |
variant09 |
— |
variant10 |
— |
variant11 |
— |
variant12 |
— |
variant13 |
— |
variant14 |
— |
variant15 |
— |
variant16 |
— |
variant17 |
— |
variant18 |
— |
variant19 |
— |
variant20 |
— |
variant21 |
— |
variant22 |
— |
variant23 |
— |
variant24 |
— |
variant25 |
— |
variant26 |
— |
variant27 |
— |
variant28 |
— |
variant29 |
— |
variant30 |
— |
variant31 |
— |
variant32 |
— |
variant33 |
— |
variant34 |
— |
variant35 |
— |
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¶
No bundled palette; omitted values resolve to transparency.
glyphColor¶
#525fa3, #75c675, #76a7ff, #8c8c8c, #af61f2, #ff4d6f, #ffaa64