forresto / turtle-svg

JavaScript turtle graphics to SVG for laser cutting = LASER TURTLES!!!
http://forresto.github.com/turtle-svg/
26 stars 8 forks source link

export png #9

Closed forresto closed 11 years ago

forresto commented 11 years ago

something like

make canvas, set w h to svg w h
context.drawImage(svgImage, 0, 0)
window.open( canvas.toDataURL() )