miwale

Vaporwave Sunset — Game Art Style Spec

Pastel vaporwave plazas of pink marble, checkerboards and tiled pools under a sunset wash, with VHS fringes on every sprite.

A sunny 80s/90s vaporwave world seen from above. The floor is a plaza on a 32-unit block grid: rose marble slabs, lavender checkerboards, a deep purple pastel grid and mint terrazzo, separated by raised white trims, with stepped swimming pools (mosaic band, white coping) cut into it. Every character, prop and icon is a solid, gradient-shaded drawing with a deep-indigo outline, baked once together with a soft pastel bloom and a pink-left / cyan-right chroma fringe, as if played from a worn VHS tape. Palms, Ionic columns, marble busts, pink flamingos, a beige CRT monitor and floating gradient spheres, pyramids and iridescent rings dress the plazas. A sunset wash (peach at the top, violet at the bottom), scanlines, faint tape grain and a slowly rolling tracking band finish the picture; the interface is a kit of 90s OS windows with gradient title bars and chrome lettering.

At a glance

FamilyVector · Vaporwave
Mooddreamy, nostalgic, sunny, ironic, chill
Best forretro-themed arcade and arena games, chill exploration and collecting, lo-fi / synthwave-adjacent music projects, 90s-internet menus and promo art, satirical games
RendererCanvas 2D, fully procedural, no image assets
Pixel artNo – native resolution, sprites baked at 4 px per world unit
Complexity4/10 – closed paths + gradients + one shared bake; the craft is in the gradient ramps and a calm floor
FontsMonoton (titles), Rubik Mono One (chrome numbers, card titles), VT323 (body, labels, counters)
Key colours#2a1a4c ink · #ff5fc1 hot pink · #ffd1ea blush · #fff27a sun · #b892ff lavender · #5ee7ff cyan · #8ff5d2 mint · #fff5fb marble

When to use it

Vaporwave Sunset is a variant of Neon Midnight (neon) and shares its core trick – the glow is baked into each sprite once instead of being computed per frame – but it flips almost everything else:

Good fits:

Bad fits:

Color palette

SwatchHexRole
Ink indigo#2a1a4cAll outlines, text strokes, UI borders, hard offset shadows
Hot pink#ff5fc1Main character jacket, small creature, grid lines, title bars, rings
Bubblegum#ff9ad5Mid pink of gradients, grid lines, flamingos
Blush#ffd1eaLight end of pink gradients, bellies, highlights
Peach#ffc1a1Warm accents, palm trunks, confetti
Sun yellow#fff27aTop of the sunset sun, sunglasses reflection, emphasised numbers
Sunset amber#ffb36bMiddle of the sunset sun, warm bloom
Lavender#b892ffSide faces, shadows on pink subjects, title-bar middle
Lilac#dccbffPale violet panels and fills
Violet#7a4fd0Dark pyramid faces, jacket hem, creature feet
Dusk violet#4b2a86Cast shadows (as rgba(75,42,134,·))
Mint#8ff5d2Palm fronds, laurel wreath, small collectibles
Teal#3fd8c8Jacket band, dark end of palm fronds
Cyan#5ee7ffFast creature, hair, statue eyes, grid crosses
Aqua#1fb2e0Deep water, iris shading
Marble white#fff5fbStatues, columns, busts, trims, pool coping
Marble shade#c9b0eeShadow side of marble
Skin / shade#ffcfb0 / #f2a58cMain character face and hands
Fringe pink / cyan#ff3fae / #2fe0ffThe baked chroma fringe, glitch flashes, tracking lines
Rose marble#ffdceeMarble slab base, veins #c76aa8 (lilac slabs #eee2ff/#8a62c8, peach slabs #ffe6d8/#cf7f90)
Checker#fff0f8 / #cdb3f7Light / dark squares
Grid purple#6d49b8Pastel grid base
Terrazzo mint#c6f4e3Terrazzo base
Pool water#93f1ff → #62dcf7 → #2399d6Shallow → deep; mosaic band #2f63d8 + #ff7fcf

Palette rules:

Typography

/* chrome numbers: sky gradient above a hard horizon, sunset below */
.chrome{font:400 40px/1.05 'Rubik Mono One',sans-serif;letter-spacing:2px;
  background:linear-gradient(180deg,#ffffff 0%,#c4f6ff 30%,#5ee7ff 47%,#2a1a4c 50%,#7a4fd0 54%,#ff5fc1 70%,#ffe0f2 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:1px #2a1a4c;
  filter:drop-shadow(3px 3px 0 #2a1a4c) drop-shadow(0 0 12px rgba(255,95,193,.7))}
/* panel title with a VHS colour split */
.title{font:400 66px/1 'Monoton',cursive;letter-spacing:4px;color:#fff;
  text-shadow:-4px 0 #2fe0ff,4px 0 #ff3fae,0 6px 0 #2a1a4c,0 0 30px rgba(255,95,193,.8)}
/* labels: white VT323 with a small pink/cyan split */
.label{font:400 20px 'VT323',monospace;letter-spacing:6px;color:#fff;
  text-shadow:-2px 0 rgba(255,63,174,.85),2px 0 rgba(47,224,255,.85)}

Floating numbers are baked into a digit atlas once the web font is loaded (Rubik Mono One 46 px): a 9 px ink stroke and a hot-pink fill offset 3 px down-right (the hard shadow), then a 7 px ink stroke and the chrome gradient fill (#ffffff → #9ff0ff | #4b2a86 → #ff7fcf → #ffe8f6, hard horizon at 50 %). The emphasised variant is gold chrome (#fffbe0 → #fff27a | #c0399e → #ffb36b → #fff2b0) over a cyan shadow. Drawn 9.5 u tall (13 u emphasised) with a pop-in.

Rendering technique

  1. One draw function per sprite. pose(ctx, phase) draws closed paths in back-to-front order: each part is filled with a gradient, then outlined in ink (fs(ctx, fill, lw)). Limbs are polylines stroked twice (limb: ink at width + 1.6, colour at width). No separate glow pass.
  2. Bake (K = 4 px per world unit, round caps/joins). Render the sharp art into a canvas full, then compose a second canvas:
    • bloom: tint(full, bloomColour) with filter: blur(2.2 u·K) at 45–90 % alpha (pink for warm subjects, cyan, lavender, mint or amber per subject);
    • chroma fringe: tint(full, #ff3fae) drawn 0.5 u to the left and tint(full, #2fe0ff) 0.5 u to the right at 80 %;
    • the sharp art on top.

    The fringe peeks out only at the left and right edges, so it reads as a VHS colour split without any per-frame cost.

  3. Characters (makeSprite): bake right-facing art, mirror the sharp art for left-facing and compose each side separately (the fringe stays pink-left / cyan-right). Keep white, pink and cyan silhouettes of the sharp art for flashes, afterimages and the switch-off effect.
  4. Props (bakeProp): bake like sprites and also bake a long shadow: the sharp silhouette tinted #4b2a86, mapped with setTransform(1, 0, −0.62, −0.28, 0.62·base, 1.28·base) (each point at height h above the base moves 0.62·h right and lands 0.28·h below the base), blurred 0.6 u. Floating props get no baked shadow.
  5. Ground is baked per 256 u chunk at up to 2.5 px/u by a generator (yields between layers). Patterns that must line up across chunks are world-anchored canvas patterns (pattern.setTransform(scale)), so they never seam.
  6. Per frame (360 u visible vertically): ground chunks → screen-blended pink light under the main character and amber light under orbiting objects → shadows (prop long shadows, actor ellipses) → props and characters y-sorted (one drawImage each; flash copies on top during a hit) → orbiting objects → projectiles → particles (batched into a few paths) → floating numbers → short glitch strips on big impacts → cached display overlay + tracking band.
  7. No pixel snapping and no low-res buffer. Sprites are slightly supersampled at 1080p.

World and ground

The floor is "a dream shopping-mall plaza at sunset", built from crisp 32-unit blocks.

  1. Regions. For each 32 u block sample at its centre: domain warp q = fbm(x/1300, y/1300) − 0.5, X = x/860 + 1.4·q, then four 2-octave fbm fields; the largest wins (argmax). Plazas are 300–700 u wide with stair-stepped borders. Block values are computed with a one-block margin so neighbouring chunks agree.
  2. Rose marble slabs (one per block). Fill with a tileable marble texture (256 px = 128 u): veins are iso-lines 1 − smoothstep(0, 0.04, |n − 0.5|) of a domain-warped tileable fbm, plus thinner secondary veins (0.025) and a cloudy two-colour base. Variants: rose #ffdcee/#f5b8da veins #c76aa8 (68 %), lilac #eee2ff/#cfb8f6 veins #8a62c8 (22 %), peach #ffe6d8/#f8c2b6 veins #cf7f90 (10 %). Bevel: white 0.7 u on the top/left edge at 75 %, violet rgba(122,60,150,.28) 0.8 u bottom/right. 7 % of slabs get a diamond inlay of a contrasting marble with a white edge and a cyan dot.
  3. Checkerboard plazas. 16 u squares, #fff0f8 and #cdb3f7, two dark squares per block.
  4. Pastel grid. Base #6d49b8; 8 u lines rgba(255,154,213,.3) 0.4 u; 32 u lines drawn twice (2.6 u rgba(255,95,193,.28) glow, 0.65 u #ff9ad5 core); cyan #5ee7ff crosses (6 u) every 64 u. Drawn over the whole chunk and clipped to the grid blocks.
  5. Memphis terrazzo. Base #c6f4e3; chips: on a 5.2 u jittered grid, 42 % chance, irregular 3–5-gons r 0.4–1.25 u in #ffa8dc #c2a2ff #7fe4f5 #ffc9ae #f4fffb #ff7fcf, 6 % #8a64d8. Rare (58 u cells, 30 %) memphis marks 1.0 u thick: zig-zags, half circles, triangle outlines in hot pink, violet or aqua.
  6. Gloss. Marble and checker get soft diagonal white light bands (tileable, period 256 u, ≤ 20 % alpha) – the floor looks polished.
  7. Decals. White four-point sparkles (46 u cells, 40 %, r 1.6–2.8 u) except on the grid, which gets cyan wire circles, triangles and sparkles. Landmarks (420 u cells, 60 %, r 15–22 u, only where all of it lies in one region and no water is near): on marble/checker a striped sun inlay (white rim r + 3.4 with 16 pink rays, a yellow → amber → pink → magenta disc with four white bands in the lower half); on the grid a wire sun (cyan ring with glow, pink horizontal lines); on terrazzo a blush memphis circle with an aqua triangle.
  8. Trims. On every block edge between two regions: a violet shadow strip 1.1 u wide offset 1.4 u to the right/below, then a white #fff6fb strip 2.8 u wide centred on the edge (ends extended by 1.4 u so corners close), lilac seams every 16 u.
  9. Pools. 16 u cells are water where fbm(x/420, y/420, 3 oct) > 0.625 (never near the start). Depth = Chebyshev distance to the nearest dry cell (up to 4), coloured #93f1ff #62dcf7 #40c6ee #2cafe2 #2399d6, written into a tiny one-pixel-per-cell image and drawn upscaled with smoothing (soft depth gradient), clipped to the water cells. On top: a caustic web (warped Worley cell edges, 64 u period, 55 % white), short white and blush wave glints, a mosaic band of 1.7 u tiles alternating #2f63d8 / #ff7fcf 1.7 u inside each edge, a violet coping shadow (4.6 u, 22 %) inside the north and west edges, and a white #fffafd coping 3.4 u wide straddling every edge with lilac seams every 8 u.

Scale: a 1600 × 900 view shows two or three floor types, one trim line and often a pool.

Characters

All characters are chunky sticker-like drawings: gradient fills lit from the upper left, deep-indigo outlines (silhouettes 0.85–1.0 u, faces 0.4–0.6 u), a bloom in their hue and the pink/cyan fringe. Each type owns one hue family and a very different silhouette (tall figure, triangle, long horizontal fish shape, huge statue).

Main character (feet at 0,0, ~18 u wide, ~34 u tall, faces right) – a cool figure in wayfarer sunglasses:

Small creature (~18 × 18 u) – a one-eyed pyramid on two feet:

Fast creature (~31 × 13 u) – a low-poly bottlenose dolphin:

Large creature (~46 × 60 u) – a walking marble statue:

States (all from the baked silhouettes):

Props

All props are baked like characters (gradient fills, ink outline, bloom 40 %, fringe). Standing props carry a long violet shadow (see Rendering technique) drawn at 34 % before anything else, so it never covers a character.

Placement: one candidate per 100 u cell (50 %), never on or next to water, never near the start; the floor type picks the mix (marble: columns, busts, palms, spheres; checker: busts, columns, monitors, pyramids, flamingos; grid: pyramids, spheres, rings, monitors; terrazzo: palms, flamingos, rings, columns).

Effects and particles

Particles are collected per kind, colour and alpha step (4 steps) and flushed as one path each: triangles and chunks fill + thin ink stroke, squares fill, rings stroke twice, streaks stroke twice (ink underlay at 40 %, then colour). If no flush hook runs (mixed with another style's atmosphere), the module switches to immediate drawing.

Atmosphere and lighting

UI

A kit of 90s OS windows, re-skinned entirely in CSS:

.panel{padding:5px 10px;background:linear-gradient(180deg,#f6efff,#ddcdfb);
  border:2px solid;border-color:#ffffff #6b4fa8 #6b4fa8 #ffffff;
  box-shadow:0 0 0 2px #2a1a4c,5px 5px 0 2px rgba(42,26,76,.4);font:400 22px 'VT323',monospace;color:#2a1a4c}
.titlebar{height:26px;border-bottom:2px solid #2a1a4c;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.18) 0 1px,transparent 1px 3px),
             linear-gradient(90deg,#ff5fc1 0%,#b892ff 55%,#5ee7ff 100%)}
.bar{position:relative;height:18px;background:#1d1040;border:2px solid;border-color:#6b4fa8 #ffffff #ffffff #6b4fa8}
.bar-fill{height:100%;background:linear-gradient(90deg,#ff5fc1,#ff8fa3 45%,#ffb36b 75%,#fff27a)}
.bar::after{content:'';position:absolute;inset:0;
  background:repeating-linear-gradient(90deg,transparent 0 14px,rgba(29,16,64,.85) 14px 17px),
             linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,0) 55%)}

Motion and animation

Do and don't

Do:

Don't:

Implementation recipe

  1. Set up a 360-unit-tall world view and a bake resolution of 4 px per unit.
  2. Write fs(ctx, fill, lw) (fill then ink stroke) and limb(ctx, pts, w, col); draw each subject as closed gradient-filled paths, back to front.
  3. Write bake(l, t, r, b, draw, {bloom, bloomA, blur}): draw the sharp art, then compose blurred tint (bloom) → pink copy −0.5 u → cyan copy +0.5 u → sharp art.
  4. For characters bake 8 walk frames + idle + dash, mirror the sharp art for the other facing and keep white/pink/cyan silhouettes.
  5. For standing props also bake the sheared long shadow; draw shadows in a pass before the y-sorted subjects.
  6. Ground: pick a floor type per 32 u block, fill marble/checker/grid/terrazzo, add gloss and decals, then trims between different blocks, then pools on 16 u cells. Use world-anchored patterns; cache chunks.
  7. Effects: confetti triangles, glitch squares, rings and streaks batched by colour; CRT-on/off for appearing and disappearing.
  8. Overlay: cache the sunset wash, vignette, fringe, scanlines and grain per screen size; paint the tracking band on top each frame.
  9. UI: bevelled lilac panels, gradient title bars, sunken segmented bars, chrome numbers, Monoton titles, VT323 text.

Code

The snippets below are the core techniques, cleaned up from the style module. starter.js in this folder contains them plus the main character, two creature types, props, the floor and a complete preview scene. The full reference implementation is ../../js/styles/vaporwave.js.

// Fill + ink outline, and limbs stroked twice. Ink is deep indigo, never black.
const INK = '#2a1a4c';
function fs(c, fill, lw, col = INK) { if (fill) { c.fillStyle = fill; c.fill(); } if (lw) { c.strokeStyle = col; c.lineWidth = lw; c.stroke(); } }
function limb(c, pts, w, col) {
  c.beginPath(); c.moveTo(pts[0], pts[1]); for (let i = 2; i < pts.length; i += 2) c.lineTo(pts[i], pts[i + 1]);
  c.strokeStyle = INK; c.lineWidth = w + 1.6; c.stroke(); c.strokeStyle = col; c.lineWidth = w; c.stroke();
}
const grad = (c, x0, y0, x1, y1, st) => { const g = c.createLinearGradient(x0, y0, x1, y1);
  for (let i = 0; i < st.length; i += 2) g.addColorStop(st[i], st[i + 1]); return g; };
// Bake once: sharp art + pastel bloom + VHS chroma fringe (pink left, cyan right). K = px per world unit.
const K = 4;
const mk = (w, h) => Object.assign(document.createElement('canvas'), { width: w, height: h });
function tint(src, col) { const c = mk(src.width, src.height), x = c.getContext('2d');
  x.drawImage(src, 0, 0); x.globalCompositeOperation = 'source-atop'; x.fillStyle = col; x.fillRect(0, 0, c.width, c.height); return c; }
function bake(l, t, r, b, draw, { bloom = '#ff5fc1', bloomA = 0.55, blur = 2.2, fringe = 0.5 } = {}) {
  const w = Math.ceil((l + r) * K), h = Math.ceil((t + b) * K);
  const full = mk(w, h), f = full.getContext('2d');
  f.lineCap = f.lineJoin = 'round'; f.setTransform(K, 0, 0, K, l * K, t * K); draw(f);
  const out = mk(w, h), x = out.getContext('2d');
  x.filter = `blur(${blur * K}px)`; x.globalAlpha = bloomA; x.drawImage(tint(full, bloom), 0, 0); x.filter = 'none';
  x.globalAlpha = 0.8; x.drawImage(tint(full, '#ff3fae'), -fringe * K, 0); x.drawImage(tint(full, '#2fe0ff'), fringe * K, 0);
  x.globalAlpha = 1; x.drawImage(full, 0, 0);
  return { img: out, full, w: w / K, h: h / K, ax: l / (l + r), ay: t / (t + b) };
}
// Long sunset shadow for a standing prop: shear the silhouette so height h lands 0.62h right and 0.28h below the base.
function longShadow(full, baseY /* px */, extraRight /* px */) {
  const c = mk(full.width + extraRight, Math.ceil(baseY * 1.3) + 12), x = c.getContext('2d');
  x.filter = `blur(${0.6 * K}px)`;
  x.setTransform(1, 0, -0.62, -0.28, 0.62 * baseY, 1.28 * baseY);
  x.drawImage(tint(full, '#4b2a86'), 0, 0, full.width, baseY, 0, 0, full.width, baseY);
  return c; // draw at 34 % alpha before the y-sorted subjects
}
// Striped sunset sun (orbiting object, inlays, monitor screen): gradient disc with bands cut out of the lower half.
function sun(c, r) {
  c.save(); c.beginPath(); c.arc(0, 0, r, 0, Math.PI * 2);
  c.fillStyle = grad(c, 0, -r, 0, r, [0, '#fff7b0', 0.3, '#fff27a', 0.55, '#ffb36b', 0.8, '#ff5fc1', 1, '#c0399e']); c.fill();
  c.globalCompositeOperation = 'destination-out';
  for (const [y, h] of [[0.12, 0.08], [0.32, 0.11], [0.54, 0.14], [0.76, 0.16]]) c.fillRect(-r - 1, y * r, r * 2 + 2, h * r);
  c.restore(); c.beginPath(); c.arc(0, 0, r, 0, Math.PI * 2); c.strokeStyle = 'rgba(42,26,76,0.85)'; c.lineWidth = 0.55; c.stroke();
}
// CRT switch-on (appear) and switch-off (disappear) from one baked sprite s {img, flash, w, h, ax, ay}; cy = body centre.
function crtOn(ctx, s, x, footY, cy, k /* 0..1 */) {
  const e = 1 - (1 - k) * (1 - k), ky = 0.05 + 0.95 * e, kx = 1.35 - 0.35 * e, w = s.w * kx, h = s.h * ky;
  const dy = cy - (cy - (footY - s.ay * s.h)) * ky;
  ctx.globalAlpha = 0.5 + 0.5 * e; ctx.drawImage(s.img, x - s.ax * w, dy, w, h);
  ctx.globalAlpha = 1 - e; ctx.drawImage(s.flash, x - s.ax * w, dy, w, h);
  ctx.fillStyle = '#fff'; ctx.fillRect(x - 15, cy - 0.5, 30, 1); ctx.globalAlpha = 1;
}

Adapting it to your project

Performance notes

Copy-paste prompt

Use the Vaporwave Sunset art style for my project (Canvas 2D, procedural, no image assets):
- Sunny 80s/90s vaporwave, seen from above. ~70 % of the screen is pastel; one deep purple region for contrast.
- Every sprite is solid shapes with gradients lit from the upper left and a deep-indigo #2a1a4c outline (0.85–1.0 units
  on silhouettes, 0.4–0.6 on details, never black). Bake each sprite ONCE: sharp art + blurred tinted copy (pastel bloom,
  2.2 units, ~55 %) + a pink #ff3fae copy 0.5 units left and a cyan #2fe0ff copy 0.5 units right behind it (VHS fringe).
- Main character: cool figure, cyan-to-violet flattop, wayfarer sunglasses reflecting a sunset, pink windbreaker with a teal
  band, indigo trousers, white sneakers. Small creatures: hopping one-eyed pink pyramids. Fast: low-poly cyan dolphins with
  pink/cyan afterimages. Large: a walking white marble statue with a pink sash, laurel wreath and glowing cyan eyes.
- Props: palms, Ionic columns (whole/broken), marble busts (one in pixel shades), flamingos, a CRT showing a sunset, floating
  gradient spheres, rotating pyramids and iridescent rings. Long sheared violet shadows fall to the lower right.
- Floor on a 32-unit block grid: rose marble slabs with veins, lavender checker (#fff0f8/#cdb3f7), purple pastel grid
  (#6d49b8 + pink lines), mint terrazzo; white raised trims between types; stepped pools with depth gradient, caustics,
  a pink/blue mosaic band and white coping.
- Effects: iridescent CD projectile with a pink-to-cyan trail, pastel octahedron collectibles, striped sunset-sun orbiters,
  confetti triangles with ink edges, glitch squares, rings with a white core. Appear/disappear like a CRT switching on/off.
- Atmosphere: sunset wash (peach top, violet bottom), violet vignette, pink/cyan edge fringe, scanlines, faint tape grain
  (all one cached overlay) and a painted tracking band rolling down every 8.5 s.
- UI: 90s OS windows – lilac bevelled panels, gradient title bars pink→lavender→cyan, sunken segmented bars, chrome
  Rubik Mono One numbers, Monoton titles with a cyan/pink split, VT323 body text.