rendering canvas, porting to SVG with bash/php
finalizing toSVG command