Explore
Courses
Batches
Sketches
Statistics
Code a Pookkalam
Jobs
Devsprint
People
Course Creation
Create a Course
Guidelines
Resources
Support
Blogs
My Profile
About Us
Login
Sketches
0
Magic_Circles
By
Pratheek Rao K B
Run
def random_color(): r = random(255) g = random(255) b = random(255) return color(r=r, g=g, b=b, a=0.5) def random_circle(): x = random(-150,150) y = random(-150,150) r = random(1,50) c = circle(x=x, y=y, r=r,fill=random_color()) return c for i in range(1000): shape = random_circle() show(shape)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login