This is code to implement a straight skeleton generation from an SVG outline. It is a proof-of-concept demo and may not be able to read all suitable SVG files - a more robust implementation would use an existing well-tested SVG library. This was written in about 2 hrs using Gemini AI as an experiment - it's one of the few non-trivial AI-generated programs that I've ever managed to get to do something useful! It did take several rounds of iteration. (I think about 20 in all). If it were a C program I could probably have written it myself over a few hours but C++ was needed for interfacing with CGAL and I have no experience of C++ which is why I tried this using AI. I confess I'm quite surprised that it worked. C++ source and an example SVG file are included.