Demo generating polygons from spaghetti