Based on the code found here: http://alienryderflex.com/polygon_inset/ Insets the polygon by a fixed, perpendicular distance. Click the green flag to generate a different random polygo