codeprint

your code, drawn as its own circuit board

GitHub
waiting for input

paste code on the left and the board renders here

What Codeprint does

Codeprint turns a piece of source code into a circuit-board drawing built from the code's own structure. It reads the pasted script line by line, tracks how deeply each line is nested, and classifies every line as a function, loop, conditional, class, comment, or plain statement. That structural map drives a fixed layout: one copper pad per line, traces routing between them in order, and a coiled spiral for every loop body. Because the layout is a pure function of the parsed structure, the same code always produces the same board. Nothing is random, so the result is a real portrait of your code rather than noise that happens to carry your filename.

How to use it

  1. Paste a script into the box on the left, or click one of the preset samples.
  2. Watch the board render and animate its traces on. Edit the code and it redraws.
  3. Copy a share link that reproduces the exact board, or download the preview SVG for free.
  4. Buy the print-ready export when you want the same board at a 3600 pixel long edge, which is 12 inches at 300dpi, sized for a real print shop.

Frequently asked questions

Is my code uploaded anywhere?

No. Parsing, layout, and rendering all run in your browser, and the pasted code never reaches a server. Share links carry the source encoded inside the URL itself, so the only place your code lands is the browser of whoever you send the link to.

Which programming languages does it work with?

Codeprint is language-agnostic. It reads the curly-brace family such as JavaScript, Java, C, Go, and Rust, and the indentation family such as Python, and you never have to pick a language. It reads structure, not syntax, so anything with recognizable nesting and blocks draws a sensible board.

Will the same code always make the same image?

Yes. The layout is deterministic. Paste the same function twice and you get a byte-identical board twice. This is the whole point: the drawing is specific to your code and reproducible, which is what makes it worth printing.

What do I get with the paid print export?

A vector SVG of your board scaled to a 3600 pixel long edge, with no watermark. It is one file, a one-time purchase, and there is no account or subscription. Because it stays vector, it scales cleanly to a poster, a sticker sheet, or a shirt transfer without going soft.

Can I print it on a shirt or a poster?

Yes. The export is a clean vector file, so a print shop can scale it to almost any physical size. Framed prints, laptop stickers, and shirt transfers all work from the same download.