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
2
Codiepookalam
By
Navneeth K
Run
c = circle(r= 150,stroke='#4f114f',fill = '#4f114f') r = rectangle(140,0,20,5,fill = 'white',stroke = 'none')| repeat(46,rotate(4)) r2 = rectangle(0,75,300,150,fill = 'white') r3 = rectangle(0,-75,300,150,fill = 'white') r4 = rectangle (w=175,h=175,fill="brown", stroke="brown") | repeat (15,rotate(50)) r5 = rectangle (w=140,h=140,fill="#22611c", stroke="#22611c") | repeat (15,rotate(50)) smc = circle(x=81, y=81, r=3,fill = 'white') | repeat(36, rotate(10)) c2 = circle(r=130,fill = 'black') c3 = circle(r=125,fill = '#de7f31') c4 = circle(r=110,fill = 'white') c5 = circle(r=105,fill = 'maroon') c6 = circle(r=100,fill = '#de7f31') c7 = circle(r=85,fill = 'white') c8 = circle(r=78,fill = 'maroon') c9 = circle(r=65,fill = '#c2361d') c10 = circle(r=55,fill = '#de7f31') c11 = circle(0,16,30,fill = 'maroon') c12 = circle(0,25,5,fill = 'red') sp = ellipse(fill = 'gold',stroke_width = 8,stroke = 'gold') sp1 = sp | rotate(45) sp2 = sp | rotate(90) sp3 = sp | rotate(135) ptot = combine([sp,sp1,sp2,sp3])|scale(0.1)|translate(0,25) p1 = point(130,0) p2 = point(125,5) p3 = point(125,-5) smaltrininblak = polygon([p2,p1,p3],fill='white')|repeat(46,rotate(4)) ring = combine([r,c2,c3,r4,smc,c4,c5,c6,r5,c7,c8,c9,c10,c11,smaltrininblak]) e2 = ellipse(0,-75,158,150,stroke = '#de7f31',fill = '#de7f31') e3 = ellipse(-6,-70,160,145,stroke = '#de7f31',fill = '#de7f31') e4 = ellipse(-10,-69,158,140,stroke = '#de7f31',fill = '#de7f31') e5 = ellipse(-15,-69,152,135,stroke = '#de7f31',fill = '#de7f31') e6 = ellipse(-28,-63,135,125,stroke = '#de7f31',fill = '#de7f31') e2m = ellipse(0,-75,158,150,stroke = '#de7f31',fill = '#de7f31') e3m = ellipse(6,-74,160,145,stroke = '#de7f31',fill = '#de7f31') e4m = ellipse(10,-69,158,140,stroke = '#de7f31',fill = '#de7f31') e5m = ellipse(15,-69,152,135,stroke = '#de7f31',fill = '#de7f31') e6m = ellipse(28,-63,135,125,stroke = '#de7f31',fill = '#de7f31') r4 = rectangle(0,-27,196,52,stroke = '#de7f31',fill = '#de7f31') etot = combine([r4,e2,e3,e4,e5,e6,e2m,e3m,e4m,e5m,e6m]) s1 = point(94,0) s2 = point(152,5) s3 = point(120,-85) s4 = point(84,-100) imp = polygon([s1,s2,s3,s4,s1],fill = '#4f114f',stroke = '#4f114f') s1m = point(-94,0) s2m = point(-152,5) s3m = point(-120,-85) s4m = point(-84,-100) impm = polygon([s1m,s2m,s3m,s4m,s1m],fill = '#4f114f',stroke = '#4f114f') #3 red strips on left q1 = point(-150,0) q2 = point(-95,-10) q3 = point(-102,-25) q4 = point(-150,-15) shape = polygon([q1,q2,q3,q4,q1],fill = '#b02323',stroke = '#b02323') q11 = point(-150,-20) q21 = point(-108,-30) q31 = point(-120,-42) q41= point(-146,-35) shape1 = polygon([q11,q21,q31,q41,q11],fill = '#b02323',stroke = '#b02323') q12 = point(-145,-40) q22 = point(-120,-50) q32 = point(-132,-72) shape2 = polygon([q12,q22,q32,q12],fill = '#b02323',stroke = '#b02323') #3 red strips on right q1m = point(150,0) q2m = point(95,-10) q3m = point(102,-25) q4m = point(150,-15) shapem = polygon([q1m,q2m,q3m,q4m,q1m],fill = '#b02323',stroke = '#b02323') q11m = point(150,-20) q21m = point(108,-30) q31m = point(120,-42) q41m= point(146,-35) shape1m = polygon([q11m,q21m,q31m,q41m,q11m],fill = '#b02323',stroke = '#b02323') q12m = point(145,-40) q22m = point(120,-50) q32m = point(132,-72) shape2m = polygon([q12m,q22m,q32m,q12m],fill = '#b02323',stroke = '#b02323') #tot red stripes totred = combine([shape,shape1,shape2,shapem,shape1m,shape2m]) show(c,ring,etot,imp,impm,totred) # headinc et1 = ellipse(0,50,70,20,fill = 'orange',stroke = 'orange') et2 = ellipse(0,6,64,65,fill = 'orange',stroke = 'orange') pt1 = point(-35,50) pt2 = point(-31,0) pt3 = point(31,0) pt4 = point(35,50) thalaout = polygon([pt1,pt2,pt3,pt4,pt1],fill = 'orange',stroke = 'orange') ev = ellipse(0,-10,18,3,fill = 'red',stroke = 'red') ev2 = ellipse(0,-13,18,5,fill = 'red',stroke = 'red') cv = circle(0,-6,2,fill ='orange',stroke = 'orange') pk1 = point(-9,-13) pk2 = point(-15,0) pk3 = point(-17,-5) pk4 = point(-12,-13) pk1m = point(9,-13) pk2m = point(15,0) pk3m = point(17,-5) pk4m = point(12,-13) kl = polygon([pk1,pk2,pk3,pk4,pk1],fill ='white') kr = polygon([pk1m,pk2m,pk3m,pk4m,pk1m],fill ='white') me = ellipse(-10,12,4,10,fill = '#cf832d',stroke = '#cf832d') | rotate(45)| translate(12,3) me2 = ellipse(10,12,4,10,fill = '#cf832d',stroke = '#cf832d') | rotate(360-45)| translate(-12,3) mp1 = point(0,15) mp2 = point(4,3) mp3 = point(-4,3) mook = polygon([mp1,mp2,mp3,mp1],fill = '#cf832d',stroke = '#cf832d') mooke = ellipse(0,10,4,8,fill = '#cf832d',stroke = '#cf832d') #eyes ey1 = ellipse(-18,26,24,15,fill = 'white',stroke = 'white') ey2 = ellipse(-18,28,30,25,fill = 'black',stroke = 'black') ey1m = ellipse(18,26,24,15,fill = 'white',stroke = 'white') ey2m = ellipse(18,28,30,25,fill = 'black',stroke = 'black') pev1 = point(-18,40) pev2 = point(-25,50) pev5 = point(-30,54) pev3 = point(-30,50) pev4 = point(-28,35) pev1m = point(18,40) pev2m = point(25,50) pev5m = point(30,54) pev3m = point(30,50) pev4m = point(28,35) kev = polygon([pev1,pev2,pev5,pev3,pev4,pev1],fill ='black') kevm = polygon([pev1m,pev2m,pev5m,pev3m,pev4m,pev1m],fill ='black') #eye ball eball = ellipse(-18,21,10,10,fill = 'black',stroke = 'black') eball2 = ellipse(-18.5,20,5,5,fill = 'white',stroke = 'black') eballm = ellipse(18,21,10,10,fill = 'black',stroke = 'black') eball2m = ellipse(17,20,5,5,fill = 'white',stroke = 'black') thala = combine([et1,et2,thalaout,ev,ev2,cv,kl,kr,me,me2,mooke,mook,ey2,ey1,ey2m,ey1m,kev,kevm,eball,eball2,eballm,eball2m])|translate(0,-80) #red ered = ellipse(0,50,90,40,fill = '#b02323',stroke = '#b02323') ered2 = ellipse(0,6,84,85,fill = '#b02323',stroke = '#b02323') ptr1 = point(-45,50) ptr2 = point(-42,0) ptr3 = point(42,0) ptr4 = point(45,50) thalaoutr = polygon([ptr1,ptr2,ptr3,ptr4,ptr1],fill = '#b02323',stroke = '#b02323') redoutline = combine([thalaoutr,ered,ered2])|scale(0.8)|translate(-62,-62) redoutline2 = combine([thalaoutr,ered,ered2])|scale(0.8)|translate(62,-62) ereds = ellipse(0,50,90,40,fill = '#701515',stroke = '#701515') ered2s = ellipse(0,6,84,85,fill = '#701515',stroke = '#701515') ptrs1 = point(-45,50) ptrs2 = point(-42,0) ptrs3 = point(42,0) ptrs4 = point(45,50) thalaoutrs = polygon([ptrs1,ptrs2,ptrs3,ptrs4,ptrs1],fill = '#701515',stroke = '#701515') redoutlines = combine([thalaoutrs,ereds,ered2s])|scale(0.63)|translate(-62,-62) redoutlines2 = combine([thalaoutrs,ereds,ered2s])|scale(0.63)|translate(62,-62) thalaredout =combine([ered,ered2,thalaoutr])|translate(0,-80) thala2 = combine([thalaredout,thala])|translate(0,10)|scale(0.8) #whie ring ewit = ellipse(0,-60,70,68,fill ='white') #orange ring eyel = ellipse(0,-75,130,88,stroke = '#de7f31',fill = '#de7f31') eor = ellipse(0,-85,130,88,stroke = '#fa9a4b',fill = '#fa9a4b') #white dot arround witdot = circle(x=45, y=45, r=5,fill='#759645') | repeat(80, rotate(10))|translate(0,-80) thalaunit1= combine([eor,eyel,witdot,ewit,redoutline,redoutlines,redoutline2,redoutlines2,thala2])|translate(0,12) show(thalaunit1) #stars star = rectangle (w=55,h=55,fill = 'gold',stroke = 'gold') | repeat (5,rotate(18))|translate(0,-10) star2 = rectangle (w=30,h=30,fill = '#c8c9ad',stroke = '#c8c9ad') | repeat (2,rotate(45))|translate(-124,-75)|scale(0.5) star3 = rectangle (w=30,h=30,fill = '#c8c9ad',stroke = '#c8c9ad') | repeat (2,rotate(45))|translate(124,-75)|scale(0.5) star4 = rectangle (w=10,h=10,fill = '#f0c369',stroke = '#f0c369') | repeat (2,rotate(45))|translate(-264,-115)|scale(0.5) star5 = rectangle (w=10,h=10,fill = '#f0c369',stroke = '#f0c369') | repeat (2,rotate(45))|translate(264,-115)|scale(0.5) show(star,ptot,c12,thalaunit1,star2,star3,star4,star5)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login