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
Almost Kolam
By
Abdul Hakeem
Run
e1 = ellipse(h=276, w=50, fill="#F24314", stroke="yellow", stroke_width=6)|repeat(25,rotate(10)) e2 = ellipse(h=266, w=10, fill="#F91EAD", stroke="none")|repeat(25,rotate(10)) c1 = circle(r=25, fill="yellow", stroke="brown", stroke_width=8) flower=e1+e2+c1|scale(0.3) flower_round=flower|translate(x=120,y=0)|repeat(20,rotate(20)) pookalam = flower_round| repeat(1, scale(0.8) | rotate(10)) pookalam1=pookalam|repeat(4, scale(0.9) | rotate(5)) a=flower|translate(x=150,y=150) b=flower|translate(x=-150,y=150) c=flower|translate(x=150,y=-150) d=flower|translate(x=-150,y=-150) corner=a+b+c+d sun=circle(r=7,x=20,y=30,fill="#FF7C00",stroke="none",stroke_width=1.5) el1=rectangle(x=10,y=-50,w=120,h=15,fill="darkgreen",stroke="none") p1 = point(x=0, y=-55) p2 = point(x=-45, y=-55) p3 = point(x=-45, y=-5) el2 = polygon([p1, p2, p3],fill="darkgreen",stroke="none") b1=ellipse(x=-25,y=-30,h=30,w=8,fill="darkgreen",stroke="none") b2=ellipse(x=-5,y=-35,h=30,w=8,fill="darkgreen",stroke="none") b3=ellipse(x=15,y=-40,h=30,w=8,fill="darkgreen",stroke="none") body=b1+b2+b3 hand1=circle(x=25,y=-33,r=3,fill="darkgreen",stroke="none") hand2=circle(x=5,y=-30,r=3,fill="darkgreen",stroke="none") hand3=circle(x=-15,y=-27,r=3,fill="darkgreen",stroke="none") hand=hand1+hand2+hand3 pole1=rectangle(x=33,y=-33,h=60,w=2,fill="darkgreen",stroke="none")|rotate(-10) pole2=rectangle(x=10,y=-35,h=60,w=2,fill="darkgreen",stroke="none")|rotate(-8) pole3=rectangle(x=-13,y=-37,h=60,w=2,fill="darkgreen",stroke="none")|rotate(-6) pole=pole1+pole2+pole3 h1=circle(x=15,y=-15,r=4,fill="darkgreen",stroke="none") h2=circle(x=-5,y=-10,r=4,fill="darkgreen",stroke="none") h3=circle(x=-25,y=-5,r=4,fill="darkgreen",stroke="none") rec2=rectangle(y=-25,w=200,h=75,fill="lightblue",stroke="none") rec1=rectangle(y=25,w=200,h=75,fill="#FCF3CF",stroke="none") rec=rec1+rec2 head=h1+h2+h3 man=head+body+hand+pole|translate(x=10) boat=el1+el2+man|scale(0.75) strap=ellipse(w=2,h=100,fill="darkgreen") l1=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15) l2=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=50) l3=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=40) l4=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=30) l5=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=20) l6=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=10) l7=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=-10) l8=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=-20) l9=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=-30) l10=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=-40) l11=ellipse(w=30,h=3,fill="#58D68D",stroke="none")|translate(x=15,y=-50) c = Circle(fill="brown",stroke="none",center=Point(x=0, y=-150), radius=10) leaf=strap+l1+l2+l3+l4+l5+l6+l7+l8+l9+l10+l11 allleaf=leaf|repeat(8,rotate(30)) lea=allleaf|translate(x=-10,y=20) trunk = c | Repeat(40, Rotate(-3) | Scale(0.96)) tree=trunk+lea|scale(0.6)|translate(x=-15,y=30) show(rec,boat,tree,pookalam1,corner,sun)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login