Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.15 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.15 KB

#Draw SVG Demo

This app demonstrates how a user could generate SVG paths using the touch screen of a mobile device. Basic drawing features are implemented:

  • Drawing with single finger
  • Undo last path drawn
  • Clear entire canvas
  • Share canvas as SVG attached in email

##Installation

Best way to install is via Google Play Store

##Caveats

  • Demo currently does not support screen rotations. Canvas will reset on rotation
  • Demo does not attempt to close paths or assist user in drawing
  • Demo does not attempt to scale the SVG. Output SVG is a 1:1 match to the pixel dimensions of the device
  • Demo uses Bezier curves for interpolating between touch sample points, but only uses lineto option in SVG output file

##Acknowledgements

Special thanks to the following resources for inspiration