this project ports potrace in Javascript to fit user drawing with bezier curves