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
Elliptical Christmas tree
By
Parthip.P.R
Run
y1=-100 w1=250 h1=7 A=0 for i in range(1,15): e=ellipse(y=y1,w=w1,h=h1,stroke="green ") e1=e|rotate(-6) e2=e|rotate(6) c=circle(r=6,x=(w1/2), y=y1, stroke ='red' ) c1=c|scale(x=-1,y=1) show(e,e1,e2,c, c1) y1+=i+6 w1-=18.5 A+=45 s=ellipse(h=2,w=10, stroke='yellow' )|rotate(A)|scale(2)|translate(0,80) show(s)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login