stack¶
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('stack', {seed = 'player-42'})
local options = dicebear.describe('stack').options
Components¶
cap¶
- Variant option:
capVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
capProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
ball |
— |
cube |
— |
dome |
— |
drop |
— |
egg |
— |
slab |
— |
piles¶
- Variant option:
pilesVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
pilesProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
boulder |
— |
five |
— |
four |
— |
fourBelly |
— |
fourLean |
— |
pair |
— |
three |
— |
threeBelly |
— |
threeLean |
— |
threeWide |
— |
tower |
— |
stone¶
- Variant option:
stoneVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
stoneProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
block |
— |
dome |
— |
lens |
— |
pebble |
— |
pill |
— |
trapezoid |
— |
wedge |
— |
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¶
#eef1f3, #f1f1ee, #f5f0eb, #f7f4ef
stoneDeepColor¶
#3f5882, #435d62, #445f50, #595a40, #614a86, #675440, #764566, #7c483f
stoneLightColor¶
#c5e8d4, #cce3e7, #d9dee7, #dfdce7, #e0e2b8, #e7dccf, #e8d9e2, #e8dbd8
stoneMidColor¶
#78a2aa, #78a68d, #829bc3, #9c9e72, #a18fc4, #b29472, #c7877c, #c87db0