work/boo

Sticker generator

BOO

A ghost sticker generator. Every ghost is clean, cuttable SVG, and every one can be rebuilt exactly from its seed.

Live

A dark ghost with a lime witch hat, tattered tail and both arms up.

Press Space and a new ghost appears: flat cartoon body, dark ink outline, white die-cut border and a soft drop shadow, ready to send to a sticker cutter. BOO is small on purpose, about 20 kB of JavaScript with no backend, and it is mostly here for the fun of it.

Runs on
Static web app on the home server, runs entirely in the browser
Built with
Vite, plain JavaScript, nginx
Started
August 2026, built in one session

Knobs for everything

Sliders cover width, height, head roundness, side bulge, tilt, tail bumps, eye size and spacing, face height, mouth size, border, outline and shadow. Then the fun part: four tail styles (scalloped, wavy, tattered, flat), five arm poses, seven kinds of eyes, eight mouths including cat, fang and tongue, accessories from a party hat to a halo, blush, and ten palettes.

The seed sits in the top bar. Type a number or any word and you get the same ghost every time. A sheet of ghosts below the editor rerolls together, and clicking one loads it for tweaking.

Rolls

Every press, a new ghost

  1. A rolled ghost with a bow.
    A rolled ghost with a bow.
  2. Another roll, wearing a witch hat.
    Another roll, wearing a witch hat.
  3. A plain one.
    A plain one.
  4. A dark ghost with a lime witch hat, tattered tail and both arms up.
    A dark ghost with a lime witch hat, tattered tail and both arms up.
  5. Halo, sleepy eyes, tongue out.
    Halo, sleepy eyes, tongue out.

Output

A sheet of stickers, plain SVG

  1. The sticker sheet, a page of ghosts that reroll together.
    The sticker sheet, a page of ghosts that reroll together.
  2. The Show SVG panel: plain, portable markup.
    The Show SVG panel: plain, portable markup.

The editor

Every slider

  1. The full editor with the default ghost.
    The full editor with the default ghost.

How it's built

  • The sticker look is three strokes of the same silhouette stacked up: a fat white paper stroke, then the ink, then the fill drawn last so the body and arms read as one cut-out shape.
  • No filters, gradients, fonts or external references in the SVG, so it opens cleanly in Inkscape, Figma and cutting-machine software.
  • Seeded randomness (mulberry32, with text seeds hashed first). Randomise only rerolls the character, never the sticker treatment, so a sheet stays consistent.
  • PNG export at up to 2048 px draws the SVG through a data URL; a blob URL would taint the canvas and block the download.
  • The hem arcs, the witch hat and some noodle-like arms were fixed only after reviewing contact sheets of hundreds of ghosts.

1 / 8

A rolled ghost with a bow.
A rolled ghost with a bow.