Skip to content

moods

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('moods', {seed = 'player-42'})
local options = dicebear.describe('moods').options

Components

cheeks

  • Variant option: cheeksVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: cheeksProbability. Range 0–100; default 50.
Variant Tags
blush —

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
angry mood:negative
bigPupils mood:positive
calm mood:negative
closed mood:positive
happy mood:positive
lookDown mood:positive
lookSide mood:positive
lookUp mood:positive
pupils mood:positive
sleepy mood:negative
small mood:positive
sparkle mood:positive
squint —
tallPupils mood:positive
uneven mood:positive
wink mood:positive

face

  • Variant option: faceVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: faceProbability. Range 0–100; default 100.
Variant Tags
bean —
blob —
circle —
hexagon —
pebble —
softSquare —
squircle —
tall —
wide —

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 mood:positive
cat mood:positive
frown mood:negative
gasp —
grin —
laugh mood:positive
line —
open —
smile mood:positive
smileOpen mood:positive
smirk mood:positive
teeth —
tongue mood:positive
wavy mood:negative
wide 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

#0369a1, #047857, #0f766e, #1d4ed8, #1e293b, #4338ca, #6d28d9, #a21caf, #b45309, #be123c, #be185d, #c2410c

faceColor

#5eead4, #6ee7b9, #7dd3fc, #a5b4fc, #bef264, #c4b5fd, #e2e8f0, #f0abfc, #fca5a5, #fcd34d, #fda4af, #fdba74

inkColor

#1e293b

Animation

Enable all selected artwork timelines with animation = true, or control a named timeline:

Timeline Switch Speed Delay
blink blinkAnimation blinkAnimationSpeed blinkAnimationDelay

Some artwork variants may be static. See animation options and native playback.