I’m using Pythonista’s built-in canvas library to draw 2D vector images for a script of mine, but would now like to run my script on a Raspberry Pi or microcontroller. Since canvas is Pythonista-only, I’m wondering if anyone knows how to either export the canvas library for use on other devices, or knows of a good alternative. I already tried Pillow, but since it’s not vector-based, the images it produces do not look as good as what canvas produces.
I mostly just need the ability to draw lines, shapes, and text, and then save the produced image as a png.