Solids get outlines, fire doesn't (detached emissives)
A crisp 1-px dark outline separates solid iron, stone, bone, and wax from any dungeon floor—but running that same outline pass around fire, rising sparks, or steam immediately suffocates them. Across three Arcane Curiosities Vol.1 props (Brazier, Skull Candles, and Cauldron), keeping emissive and ephemeral parts outside g.outlined("ink", ...) avoids 1,854 unwanted dark ink pixels over 12 frames and stops isolated 1-px embers from ballooning into 5-px dark '+' blobs.
Why dark outlines make fire look like a sticker—and turn sparks into dark '+' bugs
In top-down pixel art, a 1-pixel dark ink outline (#17121f in the 32-colour Arcane Curiosities palette) earns its keep on solid matter. Iron bowls, wrought legs, skulls, melted wax candles, and wooden rims have hard physical boundaries that need to read cleanly against both dark stone and bright floor tiles.
The trap is treating outline generation as a single post-process pass over the whole sprite. Fire, floating embers, candle flames, and rising steam are not opaque solids—they emit light or diffuse into the air. Wrapping a flame in #17121f ink locks its brightest mass inside a dark crust so it reads like an orange sticker instead of a light source. Worse, the perimeter-to-area ratio explodes on small shapes: a single isolated 1-pixel glowing spark gets 4 orthogonal ink neighbours (top, bottom, left, right), swelling from 1 bright pixel into a 5-pixel dark '+' cross where 80% of the footprint is dark outline.
The structural rule in STYLE.md is simple: wrap only solid bodies in g.outlined("ink", ...), keep flames, sparks, steam, and pop-bubbles outside it, let the darkest tone of the emitter's own ramp (fl0, or brew1/brew2 for steam) serve as a self-lit outer edge, and declare intentional free-floating particles inside g.detached(...) so silhouette diagnostics recognise them as deliberate particles rather than stray pixels.
Measured across 3 Vol.1 props: +1,854 unwanted ink pixels avoided over 12 frames
Every count below is rendered directly through the Tessarune runtime at 1× scale (12 frames at 10 fps) comparing the shipped Arcane Curiosities Vol.1 sheets against naive builds that wrap the exact same fire, flame, or steam call inside g.outlined("ink", ...). On Wrought-Iron Brazier (brazier-idle-fire, 48×64, 1,169 opaque pixels on frame 0 and 13,756 across 12 frames), the solid iron legs, riveted bowl, rim, and coal bed already carry 223 ink pixels on frame 0 (2,675 across 12 frames). The un-outlined fire emitter—three overlapping flames plus detached tongues and rising embers—covers 416 pixels on frame 0 (4,722 across 12 frames: 4,593 pixels in the three main flames and 129 pixels in g.detached tongues and embers). Wrapping fire(g, t) in g.outlined("ink", ...) adds +90 dark ink pixels on frame 0 and +1,091 ink pixels across 12 frames—a +40.8% jump in total sprite ink, equal to 23.1% of the entire fire area.
Splitting Brazier's +1,091 unwanted ink pixels reveals where the damage concentrates: +843 ink pixels form a heavy dark crust around the three main flames (18.4% of their 4,593-pixel area), while +248 ink pixels pile onto just 129 pixels of detached flame tongues and embers—a 192.2% ink-to-spark bloat. On frame 3, four isolated 1-pixel embers at (25, 2), (32, 4), (20, 12), and (16, 16) each pick up 4 orthogonal #17121f pixels, turning every delicate spark into a heavy 5-pixel dark '+' cross (+400% dark ink overhead per pixel).
The smaller the emitter, the worse the ratio gets. On Skull & Candles (skull_candles-idle-fire, 32×32, 481 opaque pixels on frame 0 and 5,792 across 12 frames), the four candle flames (excluding the 4 dark ink wicks) span 41 pixels on frame 0 and 503 pixels across 12 frames; naively outlining flames(g, t) adds +48 ink pixels on frame 0 and +610 across 12 frames—121.3% of the flame area, meaning more dark ink than actual fire (+32.0% total sprite ink). On Bubbling Cauldron (cauldron-idle-green, 48×48, 1,238 opaque pixels on frame 0 and 14,871 across 12 frames), rising g.detached("steam") wisps total just 11 pixels on frame 0 and 119 pixels across 12 frames; outlining steam(g, t) adds +12 ink pixels on frame 0 and +153 across 12 frames—128.6% ink-to-steam bloat. Combined across all three Vol.1 props, keeping emissives and rising steam outside g.outlined avoids +150 unwanted dark ink pixels on frame 0 and +1,854 across 12 frames, with 0 VFX ink and 0 off-palette colours across every flame and brew variant.
Wrought-Iron Brazier (48×64, idle-fire f0 — all-outlined vs solids only + ink diff)

All-outlined Brazier (f0): wrapping fire(g, t) in g.outlined adds +90 dark ink px (+1,091 / 12f = +40.8% total ink) and turns embers into dark blobs

Solids only (shipped f0): 223 ink px on iron/coals only, 0 VFX ink — fl0 crimson forms the flame's self-lit edge and embers float clean

Added VFX ink mask (f0, +90 px): coral = +64 ink px choking the 3 main flames; gold = +26 ink px bloating the 15-px detached tongues & embers
Skull & Candles (32×32, f0) & Cauldron (48×48, f0) — tiny flames & rising steam

Skull Candles all-outlined (f0): +48 dark ink px on 41-px flames (+610 / 503 px = 121.3% over 12f — more dark ink than fire)

Skull Candles solids only (shipped f0): 0 flame ink; only the 4 solid 1-px wicks use ink while tiny 3-px candle flames glow free

Cauldron steam outlined (f0): +12 dark ink px on 11-px rising wisps (+153 / 119 px = 128.6% over 12f — turns airy vapour into dark specks)

Cauldron solids only (shipped f0): g.detached("steam") stays outside g.outlined so green brew vapour rises cleanly above the iron rim
Measured unwanted dark ink across 3 Arcane Curiosities Vol.1 props (12 frames @ 10 fps)
| Prop / emitter | Size | Solid ink (12f) | Emitter px (f0 / 12f) | Naive ink added (f0 / 12f) | Ink / emitter ratio |
|---|---|---|---|---|---|
| brazier · 3 main flames | 48×64 | 2,675 px | 401 / 4,593 px | +64 / +843 px | 18.4% (chokes fl0 edge) |
| brazier · g.detached sparks | 48×64 | 2,675 px | 15 / 129 px | +26 / +248 px | 192.2% (1px -> 5px '+') |
| brazier · fire(g, t) total | 48×64 | 2,675 px | 416 / 4,722 px | +90 / +1,091 px | 23.1% (+40.8% total ink) |
| skull_candles · 4 flames | 32×32 | 1,905 px | 41 / 503 px | +48 / +610 px | 121.3% (more ink than fire) |
| cauldron · g.detached steam | 48×48 | 2,312 px | 11 / 119 px | +12 / +153 px | 128.6% (more ink than steam) |
| Combined 3 Vol.1 props | 12f @ 10fps | 6,892 px | 468 / 5,344 px | +150 / +1,854 px | Shipped: 0 VFX ink · 0 off-palette |
Exact counts rendered at 1× (12 frames @ 10 fps) via the Tessarune runtime for Arcane Curiosities Vol.1 (Brazier, Skull Candles, Cauldron). All shipped variants stay strictly inside the 32-colour MASTER palette (0 off-palette colours).
Keeping solids inside g.outlined and floaters inside g.detached
In brazier.js (lines 167–176), each solid sub-assembly—the two back legs (line 170), the bowl and rolled rim (line 171), the coal bed and back coal lumps (line 172), and the front leg (line 175)—runs inside its own g.outlined("ink", ...) block. Line 173 calls if (lit) fire(g, t); completely outside g.outlined. Instead of dark ink, line 120 defines four nested teardrop layers ["fl0", "fl1", "fl2", "fl3"] so fl0 (r1 crimson in fire, b1 deep blue in soul, v1 purple in witch, e1 emerald in bile) acts as the flame's own self-lit outer shell. Inside fire(g, t) (lines 147–163), torn flame tips live in g.detached("tongues", ...) and six rising cooling sparks live in g.detached("embers", ...), stepping from fl3 down to fl0 without ever touching #17121f.
Skull Candles follows the exact same boundary in skull_candles.js (lines 150–160). Wax puddles, candles, and the bone skull each sit inside g.outlined("ink", ...) on lines 153–158, while line 159 calls flames(g, t); outside it. Inside candleFlame() (lines 35–46), even 3-pixel-wide candle flames keep fl0/fl1 as their self-lit edge and draw only the 1-pixel solid wick in ink (line 54); when the tall flames shrink back, line 61 sheds a 1-pixel floating tip via g.detached("lick" + name, ...).
Cauldron shows how the rule stays deliberate rather than dogmatic in cauldron.js (lines 178–191). The heavy feet, iron belly, and lip sit in g.outlined("ink", ...) (lines 180–185), and on line 189 the stacked wood logs and low under-belly fire share one solid ground-hugging outline block—while the boiling surface bubbles (bubbles(g, t), line 110 & line 188) and the rising wisps (steam(g, t), line 127 & line 190) stay outside g.outlined inside g.detached(...) so thin vapour drifts cleanly over the rim instead of turning into dark specks.
brazier.js lines 120, 144–164 & 167–176: solid iron parts sit inside g.outlined("ink", ...), while fire(g, t) runs outside on line 173 using fl0 as its self-lit shell and g.detached("tongues" / "embers") for floating sparks.
const LAYERS = [["fl0", 1, 1], ["fl1", 0.88, 0.72], ["fl2", 0.62, 0.48], ["fl3", 0.36, 0.26]]; // key, height, width⋯function fire(g, t) { for (const f of FLAMES) flame(g, f, t); // tongues tear off the tips and rise; embers drift up and cool g.detached("tongues", () => { for (const f of FLAMES) { const p = (2 * t + f.seed) % 1, tip = f.base - flameHeight(f, t); const x = f.x + Math.round(f.lean + 1.4 * Math.sin(TAU * (t + f.seed))), y = Math.round(tip - 1 - p * 7); if (y < 1) continue; if (p < 0.4) { g.rect({ x: [x, x + 1], y: [y, y + 1] }, "fl1", { fill: "fl1" }); g.pixel(x + 1, y, "fl0"); g.pixel(x, y + 1, "fl0"); } else if (p < 0.7) g.pixel(x, y, "fl0"); } }); g.detached("embers", () => { for (let i = 0; i < 6; i++) { const p = (t + i / 6) % 1; const x = CX + Math.round((i - 2.5) * 4 + Math.sin(TAU * (p * 1.5 + hash(i, 1))) * 2.5); const y = 26 - Math.round(p * 24); if (p < 0.92 && y >= 0) g.pixel(x, y, p < 0.3 ? "fl3" : p < 0.6 ? "fl2" : p < 0.8 ? "fl1" : "fl0"); } });}⋯const Brazier = sprite(pal, (g, t, state) => { const lit = state !== "unlit"; contactShadow(g, CX, 58, 21, 3); g.outlined("ink", () => { backLeg(g, "legL", -1); backLeg(g, "legR", 1); }); g.outlined("ink", () => { bowl(g); rim(g, lit); }); g.outlined("ink", () => { coalBed(g, lit); g.part("coal lumps", () => lumps(g, t, lit, BACK_LUMPS, 0)); }); if (lit) fire(g, t); g.part("front coals", () => lumps(g, t, lit, FRONT_LUMPS, 20)); g.outlined("ink", () => frontLeg(g));});skull_candles.js lines 48–64 & 150–160: wax candles and skull are outlined on lines 153–158; flames(g, t) runs outside on line 159 with only the 1-px wick in ink (line 54) and floating tips in g.detached (line 61).
function flames(g, t) { for (const [name, c] of Object.entries(CANDLES)) { const f = flick(t, c.seed); const lean = f.lean + (c.gust ? 2.6 * gust(t) : 0); const fx = c.x0 + (c.w === 3 ? 1 : 2), h = c.h + f.dh; g.part("flame" + name, () => { g.pixel(fx, c.top - 1, "ink"); // wick candleFlame(g, fx, c.top - 2, h, lean); }); // as a tall flame shrinks back, its tip tears off and floats up for a frame or two const ph = TAU * (2 * t + c.seed); const ly = c.top - 2 - h - 1; if (c.h >= 6 && ly >= 0 && Math.sin(ph) > 0.2 && Math.cos(ph) < -0.2) { g.detached("lick" + name, () => g.pixel(fx + Math.round(lean), ly, "fl0")); } }}⋯const SkullCandles = sprite(pal, (g, t) => { const { A, B, C, S } = CANDLES; contactShadow(g, 15, GROUND, 14, 2); g.outlined("ink", () => { puddle(g, "puddleA", 9, 21.5, 4, 1.5); candle(g, "candleA", A); }); g.outlined("ink", () => { puddle(g, "puddleB", 26, 22, 3.6, 1.5); candle(g, "candleB", B); }); g.outlined("ink", () => { puddle(g, "puddle", SK, 28.3, 7.4, 1.3); skull(g); }); g.outlined("ink", () => candle(g, "candleS", S)); crownDrips(g); g.outlined("ink", () => { puddle(g, "puddleC", 3.5, 28, 2.8, 1.2); candle(g, "candleC", C); }); flames(g, t);});cauldron.js lines 108–137 & 178–191: iron body and grounded wood/fire sit inside g.outlined, while bubbles(g, t) (line 110, 188) and steam(g, t) (line 127, 190) stay outside inside g.detached(...).
function bubbles(g, t) { const spots = [[-6, 1, 0.0], [3, 2, 0.34], [8, 0, 0.68]]; g.detached("bubbles", () => { for (const [dx, dy, ph] of spots) { const p = (t + ph) % 1; const x = CX + dx, y = MOUTH.cy + dy; if (p < 0.2) g.pixel(x, y, "brew2"); else if (p < 0.45) { g.rect({ x: [x - 1, x], y: [y - 1, y] }, "brew2", { fill: "brew2" }); g.pixel(x - 1, y - 1, "brew3"); } else if (p < 0.62) { g.ellipse({ x: [x - 2, x + 1], y: [y - 2, y] }, "brew2", { fill: "brew2" }); g.pixel(x - 1, y - 2, "brew3"); g.pixel(x - 2, y - 1, "brew3"); g.pixel(x + 1, y, "brew0"); } else if (p < 0.75) { for (const [ox, oy] of [[-3, 0], [2, 0], [-1, -3], [0, 1]]) g.pixel(x + ox, y + oy, "brew3"); } } });}function steam(g, t) { g.detached("steam", () => { for (let i = 0; i < 4; i++) { const p = (t + i / 4) % 1; const x0 = CX + [-6, -1, 4, 8][i] + Math.round(Math.sin(TAU * (p * 0.8 + i * 0.3)) * 2); const y0 = LIP.cy - 4 - Math.round(p * 12); if (p < 0.35) { g.rect({ x: [x0, x0 + 1], y: [y0, y0 + 1] }, "brew3", { fill: "brew3" }); g.pixel(x0 + 1, y0 + 1, "brew2"); } else if (p < 0.7) { g.pixel(x0, y0, "brew2"); g.pixel(x0 + 1, y0 - 1, "brew2"); } else if (chk(x0, Math.floor(t * 12))) g.pixel(x0, y0, "brew1"); } });}⋯const Cauldron = sprite(pal, (g, t) => { contactShadow(g, CX, GROUND, 18, 2); g.outlined("ink", () => { foot(g, 12, true); foot(g, 36, false); g.part("body", () => body(g, t)); lip(g); }); band(g, t); brew(g, t); bubbles(g, t); g.outlined("ink", () => { logs(g); fire(g, t); }); steam(g, t);});Checklist for separating outlined solids from detached emissives
Clean pixel-art readability comes from contrast between two distinct edge languages: hard dark ink around solid matter, and soft self-lit colour edges around light, heat, and vapour.
Deciding which draw calls belong inside g.outlined("ink", ...) and which belong outside takes one line of structure—and eliminates dark halos automatically across every frame and colour swap.
- Outline solid matter only (iron, stone, wood, bone, wax) via g.outlined("ink", ...); keep flames, floating embers, candle tips, bubbles, and steam outside the outline pass.
- Use the emitter's darkest glowing ramp step (fl0, or brew1/brew2 for vapour) as its outer shell instead of #17121f ink so the silhouette stays crisp and self-luminous across every palette swap.
- Watch the perimeter-to-area trap on tiny elements: small candle flames (+121.3% ink), steam wisps (+128.6%), and 1-px sparks (+192.2% overall, +400% per isolated pixel) gain more dark ink than actual VFX pixels if outlined.
- Wrap intentional floating pixels (sparks, torn flame tongues, rising wisps, pop droplets) in g.detached(...) so automated silhouette checks distinguish deliberate particles from stray rendering artifacts.
Arcane Curiosities Vol.112 animated props · 52 animations
Inspect brazier.js, skull_candles.js, cauldron.js & Arcane Curiosities Vol.1
Brazier, Skull & Candles, and Cauldron ship in Arcane Curiosities Vol.1 (12 animated props, 32-colour palette), and Tessarune includes all 72 Arcane Curiosities props with their full editable source files.