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
New Sketch
By
Sooraj.k
Run
def square(width,color): return rectangle(w=width,h=width,fill=color,stroke="none") c1=circle(r=120,stroke="none",fill="black") r1=square(170,"#FEFDF3")|repeat(36,rotate(10)) r2=square(160,"#F8E63D")|rotate(5)|repeat(36,rotate(10)) r3=square(150,"#E3BD36")|repeat(36,rotate(10)) r4=square(140,"#F36636")|rotate(5)|repeat(36,rotate(10)) r5=square(130,"#a92822")|repeat(36,rotate(10)) c2=circle(r=80,stroke="none",fill="black") w1=rectangle(x=0,y=70,w=10,h=5,fill="white",stroke="none")|repeat(18,rotate(20)) w2=rectangle(x=12,y=70,w=10,h=5,fill="red",stroke="none")|repeat(18,rotate(20)) w3=rectangle(x=10,y=70,w=10,h=5,fill="orange",stroke="none")|repeat(18,rotate(20)) show(c1,r1,r2,r3,r4,r5,c2,w1,w2)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login