Paste code in, and Canvas paints the mac window, traffic lights and colored tokens live; pick a background and palette, drag the sliders, export a 2x PNG straight to the group chat.
Cards today: 0 · last export —Code, watermark and settings live only in this device's browser - no upload, no sign-in. Clearing the cache or switching devices loses them. To erase everything, use "Clear my data" in the footer.
Paste → pick a background → export. The defaults already look presentable: the page opens with a sample card, and pasting your own snippet swaps it right in. Eight backgrounds (4 gradients, 2 grids, 2 noise), four palettes, every change repainted instantly - plus a "today's pick" background that rotates by date.
Can't decide? Hit "Shuffle": background and palette roll together - export if the combination sings, roll again if it does not. The 2x PNG stays sharp full-screen in chat apps and social feeds.
The page ships a ~60-line tokenizer covering common JS / TS / Python / CSS syntax: three comment styles (//, #, /* */), three quote flavors, template strings, numbers, keywords, call sites and CamelCase type names. If parsing fails, the card falls back to monochrome text and keeps drawing, with a note under the preview - never an error or a blank page. Tick "Plain text mode" to force monochrome up front.
Lines wider than the card wrap character by character using measured glyph widths (CJK-friendly), so nothing gets cut off or bleeds past the window edge.
| Drawing | Canvas 2D, one pass: mac traffic lights, window title, line numbers, code, decorative background, watermark |
|---|---|
| Backgrounds | 8: Dusk/Deep Sea/Peach/Violet gradients, Linen/Graphite grids, Charcoal/Moss noise; today's pick rotates by date |
| Palettes | 4 window schemes (Night Blue, Night Pop, Parchment, Forest), each with 8 token colors |
| Controls | Width 480-880 · font 12-20 · radius 0-36 · padding 16-48 · shadow/line-number/plain switches · title and watermark text |
| Export | 2x PNG via local Blob; file named codecard-YYYYMMDD.png |
| Limits | Tokenizing leans JS/Python/CSS - use plain text mode for SQL or Java generics; noise uses a fixed seed, stable across reloads |