triangles and squares from flatland