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
Nainu Fathima
Run
# Center layer pistil = circle(r=8, fill="white", stroke="red", stroke_width=3) petal = ellipse(w=101, h=20, fill="yellow", stroke="brown") | repeat(30, rotate(10)) # Middle layer sublayer_01 = circle(r=65, fill="wheat", stroke="none") sublayer_02 = rectangle(w=170, h=170, fill="green", stroke="white") | repeat(10, rotate(10)) | scale(0.8) sublayer_03 = ellipse(w=230, h=110, fill="red", stroke="white", stroke_width=3) | repeat(30, rotate(30)) # Outer layer outerlayer_01 = rectangle(w=185, h=185, fill="orange", stroke="white") | repeat(9, rotate(15)) outerlayer_02 = rectangle(w=200, h=200, fill= "pink", stroke="white") | repeat(9, rotate(15)) outerlayer_03 = circle(r=150, fill="purple", stroke="none") # show show(outerlayer_03,outerlayer_02,outerlayer_01,sublayer_03,sublayer_02,sublayer_01,petal,pistil)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login