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
Thamanna Azhar
Run
c1 = circle(r=150,fill='brown') show (c1) #outer layer sublayer1 = rectangle (w=209,h=209,fill="red", stroke="red") | repeat (20,rotate(50)) show(sublayer1) sublayer2=rectangle(w=192,h=192, fill="orange",stroke="orange")|rotate(15)| repeat(20,rotate(50)) show(sublayer2) sublayer3=rectangle(w=178,h=178,fill="yellow",stroke="yellow")|repeat(20,rotate(50)) show(sublayer3) sublayer4=rectangle(w=166,h=166,fill="white",stroke="white")|rotate(15)|repeat(20,rotate(50)) show(sublayer4) #middle layer c2=circle(r=106,fill='green',stroke='green') show(c2) e1=ellipse(h=165,w=30,fill='yellow',stroke_width=0.2)|repeat(15,rotate(40)) s1 = ellipse(h=209,w=109,fill='red',stroke='red') s2 = s1 | rotate(45) s3 = s1 | rotate(90) s4 = s1 | rotate(135) show(s1, s2, s3, s4) e1=ellipse(h=189,w=89,fill='white',stroke='white')|repeat(15,rotate(45)) e2=ellipse(h=169,w=69,fill='orange',stroke='orange')|repeat(15,rotate(45)) show(e1,e2) c3=circle(r=65,fill='brown',stroke='brown') show(c3) sublayer5=rectangle(w=90,h=90,fill='yellow',stroke='yellow')|repeat(20,rotate(50)) show(sublayer5) sublayer6=rectangle(w=82,h=82,fill='red',stroke='red')|rotate(15)|repeat(20,rotate(50)) show(sublayer6) sublayer7=rectangle(w=75,h=75,fill='orange',stroke='orange')|rotate(0)|repeat(20,rotate(50)) show(sublayer7) sublayer8=rectangle(w=69,h=69,fill='white',stroke='white')|rotate(15)|repeat(20,rotate(50)) show(sublayer8) sublayer9=rectangle(w=63,h=63,fill='yellow',stroke='yellow')|rotate(0)|repeat(20,rotate(50)) show(sublayer9) sublayer10=rectangle(w=57,h=57,fill='green',stroke='green')|rotate(15)|repeat(20,rotate(50)) show(sublayer10) e1=ellipse(w=30,h=15,x=17,y=0,stroke='brown',stroke_width=3,fill="red") | rotate(25) petal=e1 | repeat(30, rotate(45)) show(petal) c5=circle(r=15,fill='yellow',stroke='yellow') show(c5) c6=circle(r=9,fill='orange',stroke='orange') show(c6)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login