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
Christmas tree
By
Ann Vincent
Run
#top portion #defining points for triangle p1=point(x=0,y=150) p2=point(x=75,y=75) p3=point(x=-75,y=75) t1=polygon([p1,p2,p3],fill="green",stroke="none") show(t1) #2nd and 3rd triangles t2=t1|translate(y=-25) t3=t1|translate(y=-50) show(t2,t3) #the wood/bark part r=rectangle(h=75,w=10,y=-10,fill="brown",stroke="none") show(r)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login