from turtle import * from math import * from kandinsky import fill_rect fill_rect(0,0,320,222,(0,0,0)) speed(0) hideturtle() pensize(2) def draw_ellipse(angle): up() for i in range(0, 361, 10): rad1 = radians(angle + 90 + i) rad2 = radians(450 + 90 + angle - i) x = - 70 * cos(rad1) - 40 * cos(rad2) y = - 70 * sin(rad1) - 40 * sin(rad2) if i: down() goto(x, y) for angle in range(181): pencolor(0, 0, int(255 * angle / 180)) draw_ellipse(angle + 45)