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
Gradient view
By
Vishal Arya
Run
#Sketches used #1 - https://mon.school/sketches/57793 #2 - https://mon.school/sketches/61602 def random_color(): r = random(255) g = random(255) b = random(255) return color(r=r, g=g, b=b) c1 = Circle(radius=50,fill=random_color(),stroke=random_color()) c4 = Circle(radius=25,fill=random_color()) c2 = Circle(radius=100,fill=random_color(),stroke=random_color()) c3 = Circle(radius=150,fill=random_color()) r1= rectangle(w=50,h=50,stroke=random_color())|repeat(20, rotate(10)|scale(1)) r2= rectangle(w=100,h=100,stroke=random_color())|repeat(50, rotate(10)|scale(1)) r3= rectangle(w=200,h=200,fill=random_color(),stroke=random_color())|repeat(260, rotate(1.3)|scale(1)) r4= rectangle(w=180,h=180,fill=random_color(),stroke=random_color())|repeat(10, rotate(15)|scale(1)) show(c3,r4,r3,c2,c1,r1,r2,c4)