This example uses Pyxplot’s flow control commands, together with its list methods and the polygon command, to generate a diagram of the first eight regular polygons. rotate(a) = matrix( [cos(a), -sin(a)], [sin(a), cos(a)] )