Skip to content

patchwork

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

Components

block

  • Variant option: blockVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: blockProbability. Range 0–100; default 100.
Variant Tags
brokenDishes —
checker —
corners —
economy —
fan —
geese —
halfSquare —
hourglass —
mountains —
peak —
petals —
pinwheel —
rails —
rings —
shells —
sunrise —
swirl —
target —

block01

  • Variant option: block01Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: block01Probability. Range 0–100; default 100.
  • Alias of block. Local overrides are supported; HTTP alias overrides are rejected.
Variant Tags
brokenDishes —
checker —
corners —
economy —
fan —
geese —
halfSquare —
hourglass —
mountains —
peak —
petals —
pinwheel —
rails —
rings —
shells —
sunrise —
swirl —
target —

block02

  • Variant option: block02Variant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: block02Probability. Range 0–100; default 100.
  • Alias of block. Local overrides are supported; HTTP alias overrides are rejected.
Variant Tags
brokenDishes —
checker —
corners —
economy —
fan —
geese —
halfSquare —
hourglass —
mountains —
peak —
petals —
pinwheel —
rails —
rings —
shells —
sunrise —
swirl —
target —

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

#f3ead7

fabricAColor

#b0413e, #c65b47, #c97ba5, #d9776b

fabricBColor

#33415c, #37718e, #4a7a63, #6b8f5a

fabricCColor

#c98a3d, #d9a441, #e0b653