xxxxxxxxxx
def _(colormap=['winter','spring','summer','autumn'],
n=[24,36,48,60]):
p=sum([arrow2d((0,0),(cos(i*pi/n),sin(i*pi/n)),
color=colormaps[colormap](int(250*i/n/2))[:3])
for i in [0..2*n]])
p.show(figsize=(5,5))
No comments:
Post a Comment