This is my New Providence High School AP Physics C final project.
Designed to be run in Python 2.7
The first of this project takes a vector image and returns several sets of coordinates that compose the image. For shapes that are not straight lines, such as cubic and quartic bezier curves, it approximates the curve to within a specified error. In addition, it scales the coordinates to user specified dimensions, calculates boundary coordinates if the paper is too small for the image, and optimizes the ordering off the sets of coordinates to decrease travel distance between disjoint sets of coordinates.
The second part sends instructions to the robot via Bluetooth.
User_Interface.py - User interface for slicing vector image file into coordinate set
Run with python User_Interface.py
and follow prompts.
Original | Sliced Preview |
Homer Simpson example from http://thenewcode.com/assets/images/thumbnails/homer-simpson.svg