#!/usr/bin/env python3 import random import math def circle(ctx,x,y,r): ctx.arc(x,y,r,0,math.pi*2.) ctx.stroke() def circle_fill(ctx,x,y,r): ctx.arc(x,y,r,0,math.pi*2.) ctx.fill() def random_color(): red = random.uniform(0, 1) green = random.uniform(0, 1) blue = random.uniform(0, 1) return red, green, blue