Polygon States

This project is meant to be practice for the computational geometry algorithms that I learned in Math 124 at UC Berkeley. The states provide a backdrop upon which it is easy to practice these algorithms, as the polygons they form range widely in complexity.

The project starts by transforming the original data from XML to CSV format, then taking the data and putting into a dictionary and pickling that. The third notebook contains the code to generate a triangular mesh, with some of the code written in Julia. The Julia code I wrote as part of a project for Math 124, and I imported it here to apply it to this problem and added some IPython widgets to allow you to generate the mesh for any state with varying complexity.