miwale

Art Deco Gold — Game Art Style Spec

A 1920s grand lobby: onyx, emerald and midnight marble inlaid with metallic gold sunbursts, chevrons, fans and stepped corners.

The whole world is one endless grand floor. It is laid out on a strict 200-unit grid: every square bay is a framed marble inlay — a sunburst medallion, a harlequin of diamonds, fish-scale fans, zigzag chevrons, a reflecting pool or a parterre garden — and the bays are separated by midnight-blue terrazzo promenades with bevelled gold borders and gold compass rosettes at every crossing. The palette is tight and nocturnal: deep black, emerald and midnight blue, with metallic gold and ivory as the only bright notes. Gold is never flat yellow; it is always a banded gradient or a three-pass bevel stroke (dark edge, mid gold, thin bright highlight), so every line looks like polished brass inlay. Figures are elegant geometric cut-outs with a thin ink outline and a gilded rim: a dapper gentleman in an ivory dinner jacket and top hat, enamel scarabs carrying gold sun discs, swept-wing swifts and a gilded guardian statue with a fan headdress. Effects are gold sparkles, sunburst flashes and drifting gold leaf; the UI is a kit of Deco frames with notched corners, gold double borders and sunburst headers.

At a glance

FamilyVector · Art Deco
Moodglamorous, opulent, nocturnal, orderly, festive
Best forstylish top-down action and arcade projects, heist / casino / hotel / jazz-age settings, luxury puzzle and match games, elegant menus and card UIs, Deco city builders
RendererCanvas 2D, procedural: vector parts baked into sprites, world-anchored marble and terrazzo patterns for the floor
Pixel artNo — native resolution, sprites baked at 3–7 px per world unit
Complexity5/10 — a small geometric vocabulary and a reusable gold recipe; restraint and symmetry are the craft
FontsLimelight (400), Josefin Sans (300/400/600/700), Poiret One (400)
Key coloursonyx #0d0e12, midnight #0f1a33, terrazzo #18233f, emerald #0e4a40, jade #2a9c84, gold #b8862f / #e6c15a / #fff0b8, ivory #f2e8d0, ruby #b8323f

When to use it

Color palette

SwatchHexRole
Onyx#0d0e12Black marble, base of the floor (~35 % of the screen); cloud #1d1e26, veins #6e6553
Onyx Satin#1b1c23Trousers, top hat, plinths, vases, lamp pillars
Midnight#0f1a33Midnight marble and scallop fields; cloud #182a4e
Terrazzo#18233fPromenades (~20 %); chips ivory #d9ccaa, gold #c4953e, jade #2c7d6a, black #0b1020, blue #33467a
Lapis#3460c0Blue enamel scarab; scallop rows #3a5a9e
Emerald#0e4a40Emerald marble in rays, diamonds and chevrons; cloud #125548
Emerald Light#14695aFronds, fan leaves, topiary tiers, guardian crest
Jade#2a9c84Jade enamel, swift body, leaf highlights; light #6fd1b6
Gold#b8862fMid gold of every bevelled line
Gold Light#e6c15aAccents, sparkles, sun-disc rays, speed lines
Gold Highlight#fff0b8Thin bright line on gold bands; top stop of gold gradients
Gold Dark#5a3d10Dark edge of gold bands; gold-leaf backs #8a611d
Pin Gold#c99a3cThin pin-lines in the floor and UI frames
Ivory#f2e8d0Dinner jacket, medallion centres, pool coping, swift wings, UI text
Pearl#fffaf0Lit side of jacket and wings, gloves
Champagne Skin#ecd0a4The main character's face; shade #c39b6c
Bronze#3a332aGuardian body, palm trunks; light #6a5c46, dark #16130f
Pool Water#123a57Pools and fountain basins; deep #0a2136, ripples #a8eadf
Ruby#b8323fRare warm accent: panel bar, heart icon; hurt rays #ff7a6a
Ink#07080bOutlines of figures and icons, text strokes

The gold recipe (used everywhere):

Rules

Typography

FontWeightsRoleSample CSS
Limelight400Titles, counters, card titles, floating numbersfont: 400 64px/1 'Limelight', serif; letter-spacing: .16em; text-transform: uppercase; + gold gradient text
Josefin Sans300–700Body copy, card text, captions, small labelsfont: 400 15px/1.3 'Josefin Sans', sans-serif; color: #c9bb98;
Poiret One400Thin taglines and hints in wide capitalsfont: 400 19px 'Poiret One'; letter-spacing: .3em; text-transform: uppercase; color: #e2cf9f;

Rendering technique

World and ground

The floor is a grid of square bays of 200 units. Each bay keeps a 14-unit margin on every side for the promenades, leaving a 172-unit interior.

Bay frame (all framed types): a stepped rectangle — each corner notched in two 7-unit steps — filled with onyx marble; a bevelled gold band of 1.25 units at 2.4 inset; a 0.45 pin-line at 7 inset (steps of 5). The inner field starts 9.5 units in, with 4.5-unit steps. Bay types are chosen by a hash of the bay index:

After each bay, a varnish rgba(4,5,9,.3) darkens the whole bay so the promenades read as a brighter frame and the figures stay on top.

Promenades: 28-unit bands of midnight terrazzo along every grid line; bevelled gold borders at ±12.4 (w 1.1), pin-lines at ±9.6; ivory lozenge studs (2.4 × 1.3) every 20 units on the centre line. Crossings: a 24.8-unit gold-framed square with an onyx disc r 10.4, a polished ring, an 8-point gold compass star (9.2 / 3) with a brighter 4-point star over it and an ivory centre dot.

Textures: marble = 192 px tileable texture: n = fbmTile(u·4, v·4), vein = (1 − |sin(2π(2u + v + 1.7n))|)^16, a second finer vein with exponent 26 at 70 %, base mixed to cloud colour by smoothstep(.3, .75, n). Used as a pattern at 0.62 (onyx), 0.55 (emerald), 0.6 (midnight), 0.5 (ivory) units per texel, rotated by a random multiple of 90° and offset per bay so neighbouring bays never match. Terrazzo = 160 px midnight base with 1100 polygon chips drawn with 9-offset wrapping.

Characters

Main character — the gentleman (feet at 0, ~31 × 42 units, sprite stretched 1.1 horizontally, baked at 1.06).

Small creature — enamel scarab (~39 × 23 units, baked at 1.3). A domed shell (upper half-ellipse 8.4 × 6.4 plus a shallow lower curve) filled with a three-stop enamel gradient — jade #6fd8b8 / #1f9a80 / #0a4a40, lapis #86a8f2 / #3460c0 / #15296a or onyx #5a5d6b / #1f2129 / #060709. Clipped inside: 9 gold sunburst engraving lines fanning back from the front, two concentric arcs, a soft highlight. A gold split line, a bevelled gold rim, an onyx thorax plate with a gold edge, an onyx head with an ivory eye and a gold sun disc with 8 rays at the front. Six legs in two layers, the near ones with a gold highlight; 4-frame tripod gait.

Fast creature — swift (seen from above, wingspan ~31 units, hovering 13 units). Two swept crescent wings in pearl (#fffaf0 → #c9b98f) with three chevron bands (jade, gold, jade) and a gold leading edge; a jade streamlined body with a midnight cap, a gold centre line, a gold beak, ivory eye dots and a gold forked tail. 4 wing-span frames (1, 0.72, 0.38, 0.72); the sprite rotates to its flight direction; three parallel gold speed lines trail behind.

Large creature — guardian statue (~42 × 64 units). A gilded rectangular mask with a tapering chin, glowing jade eye slits #9ff7de with a soft halo; a fan headdress of 11 alternating gold / emerald wedges behind the head; a stepped bronze torso (shoulder block ±15.5, chest steps to ±8.4) with a gold rim, a stack of three gold chevrons and a gold sun medallion with a jade gem; block arms with gold bracers and gold fists; a black pleated kilt with gold pleat lines; stepped legs with gold bands and onyx feet. 4 heavy stepping frames (foot lift 1.8, body bob 0.8).

Shared rules: ink outline + gilded rim on every figure; hit flash = ivory silhouette up to 90 % with a 12 % squash; appearing = a gold sigil on the floor while the figure rises with outBack (the swift drops in from 26 units); vanishing = the gold silhouette swells 22 % and fades over 0.35 s.

Props

All props are baked with a 0.6-unit ink outline (no gold rim) and placed by the layout, not randomly:

Props cast a soft radial contact shadow; tall props become 55 % translucent while the main character is behind them.

Effects and particles

Atmosphere and lighting

UI

Motion and animation

Do and don't

Do

Don't

Implementation recipe

  1. Palette and gold helpers: write gold(ctx, x0, y0, x1, y1) (six-stop gradient), gl(ctx, w) (three-pass bevel stroke), ringG(...) (radial ring) and stepRect(...) (notched corners). Use them for everything.
  2. Textures: bake tileable marble (sine veins warped by tileable fbm) for onyx, emerald, midnight and ivory, and a terrazzo chip texture. Create patterns per chunk and set pattern.setTransform(scale) so they are anchored to world units.
  3. Floor: for each 200-unit bay overlapping the chunk, pick a type by hash, clip to the bay, draw it, varnish it. Then draw promenades and rosettes over the grid lines. Yield after every bay.
  4. Figures: write each figure as a function of pose parameters using polygons and gradients; bake every frame; add the gilded rim and ink outline by stamping tinted silhouettes; derive flash and gold copies.
  5. Props: bake each prop once; place them at bay centres, parterre centres, corners and crossings; animate only the fountain water and lantern glow.
  6. Effects: a glint sprite, gold leaf front/back sprites, enamel shards, glow gradients; sunburst rays and rings are a few strokes.
  7. Atmosphere: bake one screen overlay per resolution (warm top light, rays, vignette, frame); add gold dust motes.
  8. UI: SVG border-image frames + stepped clip-path, gold gradient text, fluted bars, conic sunburst headers.

Code

Metallic gold fill, bevel line and polished ring:

const GSTOPS = [[0, '#fff0b8'], [0.18, '#e9bf5c'], [0.42, '#9a6c22'], [0.56, '#c8973a'], [0.78, '#f5d98a'], [1, '#7d561a']];
function gold(c, x0, y0, x1, y1) {
  const g = c.createLinearGradient(x0, y0, x1, y1);
  for (const s of GSTOPS) g.addColorStop(s[0], s[1]);
  return g;
}
// stroke the current path as an inlaid brass line
function goldLine(c, w) {
  c.strokeStyle = '#5a3d10'; c.lineWidth = w * 1.55; c.stroke();
  c.strokeStyle = '#b8862f'; c.lineWidth = w; c.stroke();
  c.strokeStyle = '#fff0b8'; c.lineWidth = w * 0.34; c.stroke();
}
function goldRing(c, x, y, r, w) {
  const g = c.createRadialGradient(x, y, r - w / 2, x, y, r + w / 2);
  [[0, '#5a3d10'], [0.3, '#f5d98a'], [0.5, '#fff0b8'], [0.72, '#c8973a'], [1, '#5a3d10']].forEach((s) => g.addColorStop(s[0], s[1]));
  c.beginPath(); c.arc(x, y, r, 0, Math.PI * 2); c.lineWidth = w; c.strokeStyle = g; c.stroke();
}

Notched (ziggurat) corners, used for frames, bays, plinths and panels:

function stepRect(c, x0, y0, x1, y1, s) {
  const d = 2 * s;
  const pts = [[x0 + d, y0], [x1 - d, y0], [x1 - d, y0 + s], [x1 - s, y0 + s], [x1 - s, y0 + d], [x1, y0 + d],
    [x1, y1 - d], [x1 - s, y1 - d], [x1 - s, y1 - s], [x1 - d, y1 - s], [x1 - d, y1],
    [x0 + d, y1], [x0 + d, y1 - s], [x0 + s, y1 - s], [x0 + s, y1 - d], [x0, y1 - d],
    [x0, y0 + d], [x0 + s, y0 + d], [x0 + s, y0 + s], [x0 + d, y0 + s]];
  c.moveTo(pts[0][0], pts[0][1]);
  for (const p of pts.slice(1)) c.lineTo(p[0], p[1]);
  c.closePath();
}

The sunburst medallion (centre of a bay):

function medallion(c, cx, cy, R, emerald, onyx) {
  c.beginPath(); c.arc(cx, cy, R, 0, Math.PI * 2); c.fillStyle = onyx; c.fill();
  c.beginPath();
  for (let k = 0; k < 16; k++) {
    const a = (k / 16) * Math.PI * 2 - Math.PI / 2;
    c.moveTo(cx + Math.cos(a) * 15, cy + Math.sin(a) * 15);  // rays taper to a point near the centre
    c.arc(cx, cy, R, a - 0.105, a + 0.105);
    c.closePath();
  }
  c.fillStyle = emerald; c.fill();
  c.strokeStyle = '#c99a3c'; c.lineWidth = 0.45; c.stroke();
  goldRing(c, cx, cy, R, 3.4);
  c.beginPath(); c.arc(cx, cy, 14, 0, Math.PI * 2); c.fillStyle = '#f2e8d0'; c.fill();
  goldRing(c, cx, cy, 14, 2.4);
}

Baking a figure with an ink outline and a gilded rim:

function bake(w, h, ox, oy, K, draw) {
  const src = document.createElement('canvas'); src.width = w * K; src.height = h * K;
  const s = src.getContext('2d'); s.scale(K, K); s.translate(ox, oy); draw(s);
  const tint = (col) => {
    const t = document.createElement('canvas'); t.width = src.width; t.height = src.height;
    const c = t.getContext('2d'); c.drawImage(src, 0, 0);
    c.globalCompositeOperation = 'source-in'; c.fillStyle = col; c.fillRect(0, 0, t.width, t.height);
    return t;
  };
  const out = document.createElement('canvas'); out.width = src.width; out.height = src.height;
  const o = out.getContext('2d');
  const stamp = (img, r, n) => { for (let i = 0; i < n; i++) { const a = (i / n) * Math.PI * 2; o.drawImage(img, Math.cos(a) * r, Math.sin(a) * r); } };
  stamp(tint('#c9973a'), (0.6 + 0.42) * K, 16); // gilded rim
  stamp(tint('#07080b'), 0.6 * K, 12);          // ink outline
  o.drawImage(src, 0, 0);
  return out;
}

Adapting it to your project

Performance notes

Copy-paste prompt

Use the "Art Deco Gold" art style for my project:
- 1920s grand-lobby elegance. Palette: onyx #0d0e12, midnight #0f1a33, terrazzo #18233f, emerald #0e4a40,
  jade #2a9c84, metallic gold (#5a3d10 / #b8862f / #e6c15a / #fff0b8), ivory #f2e8d0, a touch of ruby #b8323f.
- Gold is always metal: a six-stop banded gradient for fills, a three-pass bevel stroke (dark, mid, bright
  highlight) for lines, radial gradients for rings. Never flat yellow, never large gold areas.
- Strict geometry: sunbursts, stepped ziggurat corners, chevrons, fan scallops, concentric arcs, parallel pin-lines.
  Everything symmetric and on a grid.
- Ground: a grand floor of square marble bays (sunburst medallions, harlequin diamonds, fish-scale fans, chevrons,
  reflecting pools, parterre gardens) with gold frames, separated by terrazzo promenades with gold borders and
  compass rosettes. Darken the bays slightly so figures read first.
- Figures: elegant geometric cut-outs with an ink outline plus a thin gold rim; one enamel colour per creature.
  Main character: a dapper gentleman in an ivory dinner jacket, top hat with gold band, cane.
- Props: gilded statues on stepped plinths, tiered fountains with fan-shaped water, geometric palms, topiaries,
  fan plants in chevron vases, streamlined lamp posts with glowing stepped lanterns.
- Effects: gold sparkles, sunburst flashes, flipping gold leaf, double gold rings.
- Atmosphere: warm light and faint rays from above, deep vignette, drifting gold dust, a stepped gold frame.
- UI: panels with notched corners and gold double borders, sunburst card headers, Limelight capitals in gold
  gradient, Josefin Sans body text, Poiret One hints.