CoCalc Public Filessun.sagewsOpen with one click!
Author: Kyle Ormsby
Views : 68
Description: Draw the iterated powers of exp(8πi/13) to make a stylized sun.
Compute Environment: Ubuntu 20.04 (Default)
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()