This shows how to use the SVGCanvas object from SVGKit to record and convert HTML5 canvas API drawing commands to svg.