Polygons are lists of points, not lines, duh.
Add new hat_generator and visualise it.