Polygones réguliers #PyGGb
# Start writing your code!
import time
def polyr(A,B,n):
for i in range(3,n):
p=Polygon(A,B,i,opacity=i/(3*n),color=[0,i/n,i/n])
p2=Polygon(A,B,i,opacity=0,color=[0,0,0])
time.sleep(1)
A=Point(0,0)
B=Point(1,0)
polyr(A,B,10)