Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Draw the iterated powers of exp(8πi/13) to make a stylized sun.

Project: Math 201
Views: 145
Image: ubuntu2004
def cr(z): return (z.real(),z.imag()); verts = [cr(exp(2*pi*I*4*n/13)) for n in [0..12]]; P = polygon(verts,axes=False,color='gold'); Q = polygon(verts,axes=False,fill=False,color='tomato'); (P+Q).show()