from turtle import * from math import * from kandinsky import fill_rect fill_rect(0,0,320,222,(20,)*3) speed(0) ; hideturtle() def Ce(R,N,n,D=1,d=0): return [R*cos(2*pi*(n+d/D)/N), R*sin(2*pi*(n+d/D)/N)] def fil(A,B,c): pencolor(c) ; penup() goto(A) ; pendown() ; goto(B) for (a,b,c) in ((14,63,(120,110,180)),(64,33,(240,90,40))): for i in range(50): for n in range(2): fil(Ce(100,80,a+i),Ce(100,80,b+i+n),c)