Based on the work of CSS shapes http://css-tricks.com/examples/ShapesOfCSS/