miwale

Pop-Art Comic — Game Art Style Spec

A printed 1960s comic book come alive: brush-ink outlines, flat process colours, Ben-Day dots and slipped colour plates.

Everything on screen looks like cheap four-colour newsprint. Sprites are flat process colours with thick, slightly lopsided black brush outlines; volume comes only from halftone dots (bigger dots = darker) in a crescent on the shadow side plus a solid spot-black rim; a cyan or magenta colour plate peeks out from behind each figure because the "printing press" is out of register. The ground is warm paper divided into big organic regions, each with its own rotated dot screen and separated by inked contour lines. Big moments explode into jagged yellow starbursts with POW!/ZONK! balloons. The look is loud, punchy and spooky-fun, like a 60s horror comic for kids.

At a glance

PropertyValue
FamilyComic · Pop-Art print
Moodloud, playful, punchy, retro, spooky-fun
Best fortop-down arena action with crowds of figures, brawlers, superhero or Halloween party games, card-heavy UI
RendererCanvas 2D, fully procedural, no image assets
Pixel artNo — native resolution, sprites baked at 3–5 px per world unit
Complexity5/10 — every new asset needs outline, dots and plate offset individually; the ground is expensive
FontsBangers (shouts, numbers, titles), Comic Neue 700 (body text)
Key coloursink #1b1620, paper #f4ecd4, yellow #ffe23a, red #e8262c, cyan #2ec4ef, magenta #e0338f

When to use it

Good fits:

Bad fits:

Color palette

SwatchHexRole
Ink#1b1620All outlines, spot blacks, shadow dots, text strokes, panel frame (rgb 30,24,36 for ground ink)
Newsprint#f4ecd4Paper, panel gutter, UI bar backgrounds
Meadow paper#ede9c7Base ground (~50 %) under green dots #68b062
Autumn paper#fad880Field region under orange-red dots #e8623e
Night paper#c8d2e8Night region under blue dots #5668b2
Graveyard paper#e0d3deGraveyard region under violet dots #8660a0; stones #bdb8cc
Path paper#f9e9aaPaths: no dots, diagonal ink hatching along the edges
Process Yellow#ffe23aBursts, glow dots, carved faces, timer panel, big title text
Process Red#e8262cPrimary bar fill, burst dots, sound-word text, scarecrow shirt
Process Cyan#2ec4efMisregistered plate, secondary bar fill, small collectibles, ghost eyes, card header (dot sister #1aa0d8)
Process Magenta#e0338fSecond plate, creature dots, large collectibles
Pumpkin Orange#ff8a1cMain character's head and pumpkin props (shade dots #e0301e, rib lines #d8561a)
Cape Blue#2c6ad0Main character's cape and sleeves (dots #0f2f80)
Scarf Red#ea2a33Main character's scarf (dots #8a0c22)
Pants#2b2846Main character's legs (back leg #1f1c36), glove #fffaf0
Leaf Green#3fae49Leaf crowns (dots #1a6a2c), stems #4c8a2a
Root Magenta#d4308cSmall creature, variant A top (cyan dots, shade #5a0c48), bottom #fdeabb with #f08a3c dots
Root Violet#8a3cc0Small creature, variant B top (magenta dots, shade #2a0a50), bottom #f8e6a6
Ghost White#fcfbf4Ghost body, dust puffs (shade dots #1aa0d8)
Plum / Clay#8a3a86 / #c98545Large creature top / bottom, shade #3a1030, limbs #9a5a30
Flash Yellow#ffe94aImpact flash frame fill with #ff7a1a shade dots

Palette rules:

Typography

Bangers 400 — https://fonts.google.com/specimen/Bangers — sound words, pop-up numbers, HUD counters, titles, card names. Fallback stack: "Bangers", "Luckiest Guy", Impact, "Arial Black", sans-serif (use bold when falling back).

.clock-time { font: 400 38px/1 'Bangers', Impact, sans-serif; letter-spacing: 2px; color: #1b1620; text-shadow: 2px 2px 0 #e8262c; }
.big-title  { font: 400 92px/1 'Bangers', Impact, sans-serif; letter-spacing: 4px; color: #ffe23a; transform: rotate(-4deg); }

Comic Neue 700 — https://fonts.google.com/specimen/Comic+Neue — labels, descriptions, hints; often uppercase with 1 px letter-spacing.

.hint { font: 700 16px/1.25 'Comic Neue', 'Comic Sans MS', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #1b1620; }

Text effects:

Rendering technique

  1. Choose bake resolution K = clamp(round(screenHeightPx / 360 × 1.4), 3, 5) pixels per world unit. The camera shows 360 world units vertically.
  2. Bake every sprite once with the part painter (see Code). For each part, in order:
    1. clip() to the part shape;
    2. flat fill (or a two-tone fill function);
    3. optional Ben-Day overlay dots: [colour, rf, spacing, rotationDeg] across the whole part;
    4. shade crescent: clip to "everything minus the shape shifted by sh" (even-odd) and fill with dots in the dark sister colour (rf 0.45–0.62). sh points toward the light (negative x/y), so the crescent appears on the bottom-right;
    5. spot-black crescent: same trick with a smaller offset spot (≈ 40 % of sh), filled solid ink;
    6. details (ribs, patterns) and white shine ellipses at top-left;
    7. restore() and stroke the outline twice: width w, then 0.85 w translated by (0.3 w, 0.36 w). The result is a brush line that swells on the bottom-right.
    8. optional interior ink lines at 0.55 × ol (≈ 0.55 units).
  3. Halftone tile: a T×T canvas (T = round(spacing × K), min 3 px) with circles at the 4 corners and the centre (a 45° diamond lattice), radius = rf × T / 2; used as a repeating pattern with pattern.setTransform(DOMMatrix().rotate(deg).scale(1/K)) so the dots live in world units. Sprite dot spacing is 1.3 units (DSP).
  4. Misregistration: after painting, tint a silhouette copy of the sprite with the plate colour and draw it destination-over at alpha 0.65, offset (−0.5 K, +0.375 K) px — i.e. 0.5 units left, 0.375 down.
  5. Variants per figure: 4 animation frames × {normal, flash} × {right, left (mirrored canvas)}. The flash frame is painted with the same code but every fill becomes #ffe94a and shade dots #ff7a1a, dots/details are skipped.
  6. Per frame: ground chunks (cached) → ground overlay (appear bursts, main-character glow) → collectibles → shadows → y-sorted props/creatures/main character → orbiting objects → projectiles → particles → numbers → screen overlay (vignette dots + panel frame). Everything except the ground is drawImage of baked canvases with scale/rotation.
  7. Sprites are drawn with smoothing on (the style is anti-aliased vector print, not pixel art).

World and ground

The floor is computed per pixel in world space so dots never swim or seam between chunks (256-unit chunks, at most 2.5 px/unit). It is warm newsprint split into large organic regions — meadow (base), autumn field, night, graveyard — crossed by winding paths:

RegionPaper rgbDot ink rgbSpacingAngleRadius (× spacing)
Meadow237,233,199104,176,983.345°0.17–0.33
Autumn250,216,128232,98,623.015°0.15–0.31
Night200,210,23286,104,1783.045°0.22–0.36
Graveyard224,211,222134,96,1602.860°0.20–0.36
Path249,233,170———hatching

Dot radius is interpolated by a tone field 0.5 + perlin(x/240)·0.42 + perlin(x/1300)·0.3, so the print gets denser and lighter in patches like a worn screen. Coverage is anti-aliased: (radius − d) × res + 0.5.

Characters

All figures use the same part painter so they share outline weight (~1 unit, doubled offset stroke), dot spacing (1.3 units) and the top-left light. Each figure is 10–20 primitive parts (ellipses, capsules, polygons, superellipses, bezier blobs) painted back-to-front, gets a shade crescent + spot-black crescent per part, a cyan plate behind it (magenta for ghosts) and four walk frames plus a yellow flash copy, baked facing right and mirrored for left. Readability in crowds comes from: saturated colours vs. pale ground, distinct silhouettes per type, big yellow eyes, the cyan fringe separating overlapping sprites, and the halftone shadow anchoring each one.

Main character — a figure with a round orange pumpkin head and a carved glowing face, blue cape and red scarf, ~21 × 34 units at 1.12× scale, feet at y = 0:

Small creature — a two-tone root creature with a leafy crown and an angry face, ~17 × 28 units at 0.92×: teardrop root body (bezier, top −20.6, bottom −2.6, half-width 8.5, outline 1.1, shade [-2.3, -1.5] rf 0.6, spot [-0.95, -0.6]), two-tone: magenta #d4308c or violet #8a3cc0 top with complementary dots (rf 0.42) above a wavy ink line (0.45 wide) at y −12.2 (amplitude 0.9), cream bottom with sparse orange dots (rf 0.22, rotated 30°). Three dotted leaves on top, stubby capsule legs (r 1.05). Face: yellow eye ellipses with ink pupils, angular ink brows, ink frown with a pink #ff5a6a tongue and white fangs. Two colour variants chosen by seed. Cyan plate.

Fast creature — a floating ghost, ~25 × 26 units: white sheet #fcfbf4 with a 7-unit dome and a wavy tail whose control points move with frame phase; strong cyan-dot shade [-2.6, -1.6] rf 0.62; cyan dots over the bottom 12 units; the bottom 28 % is erased with a destination-out gradient to 75 % so it hovers. Ink oval eyes with cyan catchlights, gaping ink mouth. Magenta plate (not cyan) so it reads as a different "ink".

Large creature — a giant root colossus, ~48 × 66 units: half-width 17.8, outline 1.45, plum #8a3a86 top over clay #c98545 bottom (shade #3a1030), five dark leaves, capsule arms r 3.0 in #9a5a30 with blob fists, zig-zag crack lines, a yellow star-shaped glowing core in the chest with ink rays, angular glowing eyes and a mouth with yellow teeth. Moves slower and uses a smaller flash cap (0.6).

Props

Scenery objects are baked with the same part painter as the characters (fill → dots → shade crescent → spot black → double outline, light top-left), but get a weaker pink #ff3d6e plate at 45 % instead of cyan at 65 %, so the characters pop in front of them. Each prop is baked in one or more variants and mirrored at random; each casts a halftone contact shadow scaled to its footprint (half-widths in units below).

Effects and particles

All effects are baked sprites from the same painter (ink outline, dot fills, plates) — never blurred.

Atmosphere and lighting

UI

Comic panels: zero radius, 3 px ink borders, solid offset shadows (4–8 px, no blur), slight rotations (±1–4°), skewed bars, dotted fills via radial-gradient patterns. The counter is a white oval speech bubble with a tail; the big title sits in a 16-point red starburst with yellow dots; cards are cream with dotted colour headers (cyan, yellow, pink), rotated −1.5°/1°/−0.5° and popping in with an overshoot cubic-bezier. Icons are painted with the same part painter on a 48-unit grid (outline 2.4, dot spacing 3.6) with a 1.4 px misregistered plate.

.hud-panel { background: #ffe23a; border: 3px solid #1b1620; border-radius: 0; box-shadow: 5px 5px 0 #1b1620;
  padding: 4px 18px 5px; transform: rotate(-1deg); font-family: 'Bangers', Impact, sans-serif; font-size: 38px;
  letter-spacing: 2px; color: #1b1620; text-shadow: 2px 2px 0 #e8262c; }
.bar { width: 250px; height: 28px; overflow: hidden; transform: skewX(-10deg);
  background: radial-gradient(circle, rgba(27,22,32,.22) 1.1px, transparent 1.6px) 0 0/6px 6px, #f4ecd4;
  border: 3px solid #1b1620; border-radius: 0; box-shadow: 4px 4px 0 #1b1620; }
.bar-fill-red { height: 100%; border-right: 3px solid #1b1620;
  background: radial-gradient(circle, #8a0c22 1.8px, transparent 2.3px) 0 0/6px 6px, #e8262c; }
.bar-fill-cyan { height: 100%; border-right: 3px solid #1b1620;
  background: radial-gradient(circle, #1474b8 1.7px, transparent 2.2px) 0 0/6px 6px, #2ec4ef; }
.counter { padding: 4px 26px 4px 12px; background: #fff; border: 3px solid #1b1620; border-radius: 50%;
  box-shadow: 4px 4px 0 #1b1620; font: 400 30px 'Bangers', Impact, sans-serif; }
.card { background: #fbf5e2; border: 4px solid #1b1620; box-shadow: 8px 8px 0 #1b1620; transform: rotate(-1.5deg);
  animation: popCard .45s cubic-bezier(.3,1.5,.5,1) backwards; }
@keyframes popCard { from { transform: translateY(70px) scale(.6) rotate(8deg); opacity: 0; } }
.shake .bar { animation: popShake .22s steps(3) 1; }
@keyframes popShake { 33% { transform: translate(-4px,2px) rotate(-1.5deg) } 66% { transform: translate(4px,-2px) rotate(1.5deg) } }

Overlays: celebration backdrop = radial dark vignette + red dots (2.2 px / 11 px) + yellow sunburst repeating-conic-gradient (7° rays at 15 %) over rgba(27,22,32,.62); end screen = ink dots over dark red.

Motion and animation

Do and don't

Do:

Don't:

Implementation recipe

  1. Set up a camera that shows 360 world units vertically; compute S = screenPx / 360 and K = clamp(round(S × 1.4), 3, 5).
  2. Copy the palette; for every new colour define a darker dot sister.
  3. Implement dotPattern(colour, rf, T) (cached diamond-lattice tile) and the Painter with dots, crescent, part, detail (see Code / starter.js).
  4. Implement shape helpers: ellipse E, capsule CAP, polygon POLY, bezier blob, circle union → polygon, star points with seeded jitter, plus any signature shapes (pumpkin superellipse, teardrop root body).
  5. Model each figure as a function parts(P, frame) painting back-to-front. Store walk poses as small number tables.
  6. build(box, fn, mode, plate) each frame into a canvas at K px/unit with 1.9 units margin, then add the plate silhouette destination-over at 65 % alpha offset (−0.5, +0.375) units. Build mode = 'flash' too. Mirror for left-facing.
  7. Bake shadows (two dot ellipses), the dot glow (hex dot grid), bursts, impact star, chunks, puffs, twinkles, props (pink plate at 45 %).
  8. Ground: noise fields on a 4-unit grid → bilinear signed distance → per-pixel region, ink contour of varying half-width, one rotated AA dot screen per region, grain, path hatching; render in chunks (generator/worker); then scatter ink decals.
  9. Per frame: ground → appear bursts + glow → collectibles → shadows → y-sorted figures/props → projectiles → particles → numbers → baked screen overlay.
  10. Hook visual events: impact → impact burst + flash; vanish → big burst + chunks + ink + maybe a sound word; fast move → plate smear.
  11. Build the HUD in HTML/CSS with the panel rules above, fonts Bangers + Comic Neue 700.
  12. Check readability with 200 creatures: if they mush together, raise saturation contrast to the floor, not outline width.

Code

The core techniques, standalone. A complete runnable kit (main character, small creature, ground, overlay, bursts, sound words) is in starter.js; the full reference module is ../../js/styles/popart.js.

1. Halftone tile + part painter (the heart of the style):

const INK = '#1b1620', TAU = Math.PI * 2;
const PAT = new Map();
function dotPattern(ctx, col, rf, T) {           // T px tile, dots at corners + centre (45° lattice)
  const key = col + '|' + rf + '|' + T;
  if (PAT.has(key)) return PAT.get(key);
  const cv = document.createElement('canvas'); cv.width = cv.height = T;
  const c = cv.getContext('2d'), r = rf * T * 0.5;
  c.fillStyle = col; c.beginPath();
  for (const q of [[0, 0], [T, 0], [0, T], [T, T], [T / 2, T / 2]]) { c.moveTo(q[0] + r, q[1]); c.arc(q[0], q[1], r, 0, TAU); }
  c.fill();
  const p = ctx.createPattern(cv, 'repeat'); PAT.set(key, p); return p;
}
function Painter(c, k) { this.c = c; this.k = k; this.ol = 1.0; this.dsp = 1.3; }
Painter.prototype.dots = function (col, rf, sp, rot) {
  const T = Math.max(3, Math.round((sp || this.dsp) * this.k)), p = dotPattern(this.c, col, rf, T);
  let m = new DOMMatrix(); if (rot) m = m.rotate(rot);
  p.setTransform(m.scale(1 / this.k));            // dots measured in world units
  this.c.fillStyle = p; this.c.fillRect(-999, -999, 1999, 1999);
};
Painter.prototype.crescent = function (shape, sh, fn) { // area of shape NOT covered by shape shifted by sh
  const c = this.c; c.save(); c.beginPath(); c.rect(-999, -999, 1999, 1999);
  c.translate(sh[0], sh[1]); shape(c); c.translate(-sh[0], -sh[1]); c.clip('evenodd'); fn(); c.restore();
};
Painter.prototype.part = function (shape, fill, o = {}) {
  const c = this.c;
  c.save(); c.beginPath(); shape(c); c.clip();
  c.fillStyle = fill; c.fillRect(-999, -999, 1999, 1999);
  if (o.dots) this.dots(...o.dots);
  if (o.sh) this.crescent(shape, o.sh, () => this.dots(...(o.shade || [INK, 0.45])));
  if (o.spot) this.crescent(shape, o.spot, () => { c.fillStyle = INK; c.fillRect(-999, -999, 1999, 1999); });
  if (o.hi) { c.fillStyle = '#fff'; for (const h of o.hi) { c.beginPath(); c.ellipse(h[0], h[1], h[2], h[3], h[4] || 0, 0, TAU); c.fill(); } }
  c.restore();
  const w = o.ol != null ? o.ol : this.ol;      // brush outline: heavier bottom-right
  c.strokeStyle = INK; c.lineWidth = w; c.beginPath(); shape(c); c.stroke();
  c.save(); c.translate(w * 0.3, w * 0.36); c.lineWidth = w * 0.85; c.beginPath(); shape(c); c.stroke(); c.restore();
};
// usage (world units, light top-left) – the main character's pumpkin head:
// P.part(E(0,-22.6,8.4,6.9), '#ff8a1c', { ol: 1.15, sh: [-2.3,-1.9], shade: ['#e0301e', 0.55], spot: [-0.85,-0.75], hi: [[-4,-26.2,2.1,0.85,-0.6]] });

2. Bake with a misregistered colour plate:

function bakeSprite(box, paint, K, plate) {      // box = [l, t, r, b] in world units, feet at y = 0
  const m = 1.9, l = box[0] - m, t = box[1] - m;
  const cv = document.createElement('canvas');
  cv.width = Math.ceil((box[2] + m - l) * K); cv.height = Math.ceil((box[3] + m - t) * K);
  const ctx = cv.getContext('2d');
  ctx.scale(K, K); ctx.translate(-l, -t); ctx.lineJoin = ctx.lineCap = 'round';
  paint(new Painter(ctx, K));
  if (plate) {
    const tn = document.createElement('canvas'); tn.width = cv.width; tn.height = cv.height;
    const tc = tn.getContext('2d'); tc.drawImage(cv, 0, 0);
    tc.globalCompositeOperation = 'source-atop'; tc.fillStyle = plate; tc.fillRect(0, 0, tn.width, tn.height);
    ctx.setTransform(1, 0, 0, 1, 0, 0);
    ctx.globalCompositeOperation = 'destination-over'; ctx.globalAlpha = 0.65;
    ctx.drawImage(tn, -0.5 * K, 0.375 * K);       // plate slips 0.5 units left, 0.375 down
  }
  return { c: cv, ox: -l * K, oy: -t * K };       // draw at (x - ox/K, y - oy/K), size / K
}

3. Ground pixel: rotated anti-aliased dot screen + brush contour:

// x, y world units; res = px per unit; tone 0..1; dist = signed distance to region edge (units); lw = noise 0..1
function groundPixel(x, y, res, paper, scr, tone, dist, lw) {
  let r = paper[0], g = paper[1], b = paper[2];
  if (scr) {
    const ca = Math.cos(scr.a), sa = Math.sin(scr.a);
    const su = (x * ca + y * sa) / scr.sp, sv = (y * ca - x * sa) / scr.sp;
    const fu = su - Math.floor(su) - 0.5, fv = sv - Math.floor(sv) - 0.5;
    const d = Math.hypot(fu, fv) * scr.sp, rad = scr.sp * (scr.r0 + (scr.r1 - scr.r0) * tone);
    const cov = Math.min(1, (rad - d) * res + 0.5);                 // 1-pixel AA edge
    if (cov > 0) { r *= 1 - cov * (1 - scr.ink[0] / 255); g *= 1 - cov * (1 - scr.ink[1] / 255); b *= 1 - cov * (1 - scr.ink[2] / 255); }
  }
  const hw = 0.42 + 0.62 * lw;                                      // contour half-width 0.42..1.04
  const ink = Math.max(0, Math.min(1, (hw - Math.abs(dist)) * res + 0.5));
  return [r + (30 - r) * ink, g + (24 - g) * ink, b + (36 - b) * ink];
}
// meadow: groundPixel(x, y, 2.5, [237,233,199], { ink: [104,176,98], sp: 3.3, a: 0.785, r0: 0.17, r1: 0.33 }, tone, dist, lw)

4. Halftone contact shadow and dot glow (no blur anywhere):

function bakeShadow(P) {                          // paint into a Painter-backed canvas, box [-10,-4,10,4]
  const c = P.c;
  c.save(); c.beginPath(); c.ellipse(0, 0, 9.6, 3.5, 0, 0, TAU); c.clip(); P.dots(INK, 0.5, 1.15); c.restore();
  c.save(); c.beginPath(); c.ellipse(0, 0, 6.4, 2.3, 0, 0, TAU); c.clip(); P.dots(INK, 0.95, 1.15); c.restore();
}
function bakeGlow(c) {                            // box [-16,-16,16,16]; draw at 1.5 x 0.62 under the main character, alpha 0.8
  const sp = 1.6; c.fillStyle = '#ffe23a'; c.beginPath();
  for (let j = -10; j <= 10; j++) for (let i = -10; i <= 10; i++) {
    const x = i * sp + (j & 1 ? sp / 2 : 0), y = j * sp * 0.866, d = Math.hypot(x, y) / 15;
    if (d >= 1) continue;
    const r = Math.pow(1 - d, 0.7) * sp * 0.55; c.moveTo(x + r, y); c.arc(x, y, r, 0, TAU);
  }
  c.fill();
}

Adapting it to your project

Keep fixed: the painter pipeline and its order, ink #1b1620, outline ~1 unit with the doubled offset stroke, top-left light, dot spacing ~1.3 units on sprites and ~3 units on the ground, misregistered cyan/magenta plates, no blur, comic bursts + Bangers, hard-shadow UI.

May change:

Performance notes

Copy-paste prompt

Use the Pop-Art Comic art style for my project (a 1960s printed comic book come alive):
- Canvas 2D, procedural, no images. Camera shows 360 world units vertically; bake sprites at 3–5 px per unit.
- Paint every shape with one part painter: clip -> flat process colour -> optional Ben-Day dots -> halftone shade
  crescent (shape minus itself shifted toward the top-left light, filled with darker-sister dots) -> smaller solid
  black crescent -> white shine ellipses -> ink outline #1b1620 ~1 unit stroked twice (2nd at 0.85 width shifted +0.3,+0.36).
- Dots live in world units: diamond-lattice pattern, spacing 1.3 on sprites, radius factor 0.3–0.62.
- Behind every sprite draw a cyan #2ec4ef (or magenta #e0338f) silhouette at 65 % alpha offset 0.5 units left/0.375 down;
  props get pink #ff3d6e at 45 %.
- Bake 4 walk frames + a yellow #ffe94a flash frame, both facings; runtime = drawImage only.
- World: pale newsprint regions (meadow #ede9c7 + green dots, autumn #fad880 + red dots, etc.), each with its own
  rotated anti-aliased dot screen whose dot size follows a tone noise, separated by brush ink contours 0.8–2 units wide.
- Shadows = ellipses of ink dots; glows = grids of yellow dots. No gradients, no blur, no #000.
- Saturated characters on pale ground; distinct silhouette + colour per creature type; big yellow eyes.
- Bursts: jagged 12-point yellow star with red dot rings + flying chunks + ink drops; sometimes a POW!/ZONK! balloon
  (Bangers, ink stroke, offset plate), max 3 on screen.
- UI: Bangers + Comic Neue 700, zero-radius panels, 3 px ink borders, hard 4–8 px offset shadows, skewed dotted bars.
- Screen: ink-dot vignette in the corners and a hand-inked black panel frame around the view.