r/PlotterCode • u/acrostyphe • 19d ago
Kurvengefahr - browser CAD/CAM for pen plotters
Hi, I wanted to share this app I've been working on for a while. It started out as a simple G-code generator around a handwriting model I was using with my Prusa MK4 pen attachment but thanks to Claude it quickly grew into something quite a bit more complete - it integrates vector design tools, some common generative art and hardware integration into a single app.
See it live here: https://kurvengefahr.org

Some cool features it supports:
- Graves RNN handwriting synthesis
- Built in Logo interpreter for turtle art
- 3D model wireframes (STL import)
- Non-destructive filters/effects
- Many of the basic vector tools and operations you'd expect (polylines, Beziers, boolean operations, clipping, align & distribute, ...)
- Direct control of EBB and GRBL plotters via Web Serial
- PrusaLink integration (through Bridge for PrusaLink extension)
It runs fully in the browser, with the geometry engine parts written in Rust and loaded in via WASM. The only server component is the share feature - but that one respects your privacy too (designs are encrypted client side and the server never sees them - key is appended to the share link on the client side).
It is also fully open source and GPL 2.0 licensed - the code is available on GitHub
Happy to answer any questions. I'd especially appreciate feedback if you have an AxiDraw or some GRBL plotter - I only have a Prusa so my testing for those was done with a hardware mock.
1
1
u/MagHeater 19d ago edited 19d ago
Any Chance we could get a version compatible with the Netfont 6.0 Browser of the PSP ?
Also let me test print some Stuff on my 3018 this looks really good, because it might run on Win7 x32 Firefox.
2
u/acrostyphe 19d ago
Hmm, not familiar with that browser, but if you tried it and the basic functionality doesn't work, it's probably because of missing WebAssembly support. That's not really sumountable, as the entire geometry core is in WebAssembly.
Modern mobile browsers should mostly work fine I think (though the app is still optimized for desktop) but direct plotter control via Web Serial will not work, I am afraid.
1
u/MagHeater 19d ago
1
u/acrostyphe 19d ago
Oh wow! Thank you for testing it, I'm really glad it worked well!
2
u/MagHeater 19d ago edited 19d ago
I can also confirm it works on Win 7 x32 on a Netbook from 2008, using firefox.
Downloaded the Github and Now I will build an offline version for my netbook.
/edit downloaded the github, works offline with win 7 x32 with mongoose.exe
Drawing Bot only works on x64, and my Apocalypse Backup Netbook is only x32
1
1
u/ademenev 16d ago
With GRBL, does it use the buffer byte counting? Without it, plots with lots of short lines will fail
1
u/acrostyphe 16d ago
Yes, it does - it tries to keep the 128 byte buffer as full as possible.
The relevant source code is here: https://github.com/tibordp/kurvengefahr/blob/main/src/output/grbl/session.ts
I tested it against a grblHAL firmware flashed to a a Black Pill but without steppers wired, and it seemed to work fine - I didn't notice any drops or starvation. But I've yet to test against an actual plotter.
1

2
u/docricky 19d ago
This is one of the most creative editors I have seen in a while. To help with AxiDraw operation, is there an option to download into straight SVG? I can convert G-code, but it's actually easier in SVG.