fpermana/svgbuild-py3 — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python 3 command line tool that takes an SVG file and turns it into a sequence of PNG images, so I can later combine them into an animation or video with ffmpeg.

I want it to work like a simple script where I run something like main.py with options and an SVG filename. It should read the SVG, use Inkscape for rendering, and create an output folder full of numbered image frames. Please include useful options for animating paths being drawn, showing path details, choosing object colors or a custom line color, zooming, using the page view, showing a camera frame, and controlling how many path nodes are drawn per frame.

Please make it Python 3, use common SVG and image libraries, and include clear help output from the command line. Add Docker support too, so I can mount a folder of SVGs and run the tool without installing everything manually. Include a short README with install steps, example commands, and an ffmpeg command for turning the generated frames into an mp4.

Want more depth? Deep Reverse