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
Anju Tiji
Run
r=rectangle(x=0,y=-100, w=25, h=100, fill="brown", stroke="none") p1 = point(x=150,y=-100) p2 = point(x=0,y=50) p3 = point(x=-150,y=-100) s1 = polygon([p1, p2, p3], fill=" green", stroke="none") p1 = point(x=150,y=-50) p2 = point(x=0,y=100) p3 = point(x=-150, y=-50) s2 = polygon([p1,p2,p3], fill="#006400", stroke="none") p1 = point(x=150,y=0) p2 = point(x=0,y=100) p3 = point(x=-150, y=0) s3 = polygon([p1, p2, p3], fill=" green", stroke="none") p1 = point(x=30, y=90) p2 = point(x=0, y=125) p3 = point(x=-30, y=90) s4 = polygon([p1,p2,p3], fill="#FFDF00", stroke="none") p1 = point(x=30, y=110) p2 = point(x=0, y=70) p3 = point(x=-30, y=110) s5 = polygon([p1,p2,p3], fill="#FFDF00", stroke="none") c1 = circle(x=-100, y=0, r=10, fill="red",stroke_width=0.5) c2 = circle(x=-45, y=45, r=10, fill="orange",stroke_width=0.5) c3 = circle(x=45, y=45, r=10, fill="red",stroke_width=0.5) c4 = circle(x=100, y=0, r=10, fill="orange",stroke_width=0.5) c5 = circle(x=50, y=-50, r=10, fill="blue",stroke_width=0.5) c6 = circle(x=0, y=0, r=10, fill="violet",stroke_width=0.5) c7 = circle(x=-50, y=-50, r=10, fill="violet",stroke_width=0.5) c8 = circle(x=-140, y=-50, r=10, fill="purple",stroke_width=0.5) c9 = circle(x=140, y=-50, r=10, fill="purple",stroke_width=0.5) c10 = circle(x=100, y=-100, r=10, fill="indigo",stroke_width=0.5) c11 = circle(x=-100, y=-100, r=10, fill="indigo",stroke_width=0.5) c12 = circle(x=0, y=-100, r=10, fill="pink",stroke_width=0.5) c13 = circle(x=-140, y=0, r=10, fill="#B76E79",stroke_width=0.5) c14 = circle(x=140, y=0, r=10, fill="#B76E79",stroke_width=0.5) show(r, s1, s2, s3, s4, s5, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login