danbernier/WordCram — pull request #39 by danbernier (2013-07-16 17:41:34+00:00)
Title: Write to svg

This writes out SVG files, and uses no external libs. I think the code is pretty clean, too.

I used [this O'Reilly guide](http://commons.oreilly.com/wiki/index.php/SVG_Essentials) for learning about the SVG format.

There are still some TODOs, but it's pretty far along:
- [ ] use `#ff3300` color format instead of `rgb(255, 60, 0)`, for smaller SVG files
- [x] use Bezier curves, for smaller SVG files, and smoother curves. (I have a Processing sketch that should help w/ the `PathIterator` parts of this. It's easy to do, but hard to figure out.)
- [ ] put metadata in the output (something like below, and @simpsus' example)

```xml

```