Draws multiple circles with random colors. It uses a custom function to draw the circle, using kandinsky.
from kandinsky import * from time import * from random import randint def rc(): return (randint(0,255),randint(0,255),randint(0,255)) def c(r): x = 0 y = -r p = -r while x < -y: if p > 0: y += 1 p += 2*(x+y) + 1 else: p += 2*x + 1 set_pixel(160+x,111+y,rc()) set_pixel(160+x,111-y,rc()) set_pixel(160-x,111+y,rc()) set_pixel(160-x,111-y,rc()) set_pixel(160+y,111+x,rc()) set_pixel(160+y,111-x,rc()) set_pixel(160-y,111+x,rc()) set_pixel(160-y,111-x,rc()) x += 1 r = 61 while r <= 100: c(r) r += 1