Wednesday, June 18, 2014

House App Competition and Vectorization!

House App Competition and Vectorization!

House App Competition

Results are in: PiPlotter has won the Congressional STEM Challenge within California's 7th District! It's been an awesome experience working with the app, image manipulation, and video presentations. While this is only the first year of the challenge, I hope many more students will get to experience the competition and app building process.

Vectorization

As you may be able to tell from the pictures that PiPlotter currently outputs, it is still thinking in terms of a raster. The image input finds the edges and traces a path where the pen should go, but that path is stored as lines from pixel to pixel, creating a jagged line effect.

The solution? Take these paths and turn them into lines/curves flowing through them. While I don't have any build for this ready at the moment, I have some rough ideas on how to implement this.
 - Here is a concept for the algorithm / process I will need to make for the pixel interpretation
 - Here is a great documentation of Potrace's bezier calculations that I will likely use as inspiration.