Random 2d shape generator