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
4
Neon doremon
By
n harika
Run
#bg bg=rectangle(w=300,h=300,fill="black") show(bg) #upper circle c1=circle(r=60,x=0,y=65,fill="#2EFEF7",stroke="#F2F2F2",stroke_width=1) c2=circle(r=50,x=0,y=55,fill="black",stroke="silver",stroke_width=1) show(c1,c2) #eyes e1=circle(r=8,x=-20,y=70,fill="none",stroke="silver",stroke_width=2) e2=circle(r=8,x=20,y=70,fill="none",stroke="silver",stroke_width=2) e3=circle(r=4,x=-20,y=70,fill="white",stroke="none") e4=circle(r=4,x=20,y=70,fill="white",stroke="none") show(e1,e2,e3,e4) #nose n=circle(r=8,x=0,y=53,fill="red",stroke="silver",) show(n) p1=point(0,45) p2=point(0,30) nose=polygon([p1,p2],stroke="silver",stroke_width=2) show(nose) #mouth m1=point(-20,30) m2=point(20,30) m3=point(0,15) mouth=polygon([m1,m2,m3], fill="none",stroke="silver", stroke_width=2) show(mouth) #hands f1=circle(r=10,x=-100,y=-20 ,fill="none", stroke="silver",stroke_width=1) f2=circle(r=10,x=100,y=-20 ,fill="none", stroke="silver",stroke_width=1) show(f1,f2) h1=point(0,0) h2=point(95,-10) h3=point(90,-25) right=polygon([h1,h2,h3], fill="#2EFEF7",stroke="silver", stroke_width=1) show(right) i1=point(0,0) i2=point(-95,-10) i3=point(-90,-25) left=polygon([i1,i2,i3], fill="#2EFEF7",stroke="silver", stroke_width=1) show(left) #legs l1=point(45,-85) l2=point(30,-85) l3=point(30,-120) l4=point(45,-120) leg1=polygon([l1,l2,l3,l4], fill="#2EFEF7", stroke="silver", stroke_width=1) show(leg1) k1=point(-45,-85) k2=point(-30,-85) k3=point(-30,-120) k4=point(-45,-120) leg2=polygon([k1,k2,k3,k4], fill="#2EFEF7", stroke="silver", stroke_width=1) show(leg2) #feet e1=ellipse( w=50, h=25, fill="none", stroke="silver", stroke_width=1) |translate(x=35,y=-133) e2=ellipse( w=50, h=25, fill="none", stroke="silver", stroke_width=1) |translate(x=-35,y=-133) show(e1,e2) show(e1) #lower part #lower circle o1=circle(r=56,x=0,y=-50,fill="#2EFEF7",stroke="#F2F2F2",stroke_width=1) o2=circle(r=47,x=0,y=-44,fill="black",stroke="#F2F2F2",stroke_width=1) show(o1,o2) #pocket p1=point(25,-35) p2=point(-25,-35) p3=point(-25,-55) p4=point(0,-65) p5=point(25,-55) pocket=polygon([p1,p2,p3,p4,p5], fill="none", stroke="silver", stroke_width=2) show(pocket) #moustach #left side m1= point(-40,50) m2=point(-75,60) line1=polygon([m1,m2], fil="none", stroke="white", stroke_width=1) show(line1) m3= point(-40,50) m4=point(-75,50) line2=polygon([m3,m4], fill="none", stroke="white", stroke_width=1) show(line2) m5= point(-40,50) m6=point(-75,40) line3= polygon([m5,m6], fill="none", stroke="white",stroke_width=1) show(line3) #right side x1= point(40,50) x2=point(75,60) side1=polygon([x1,x2], fil="none", stroke="white", stroke_width=1) show(side1) x3= point(40,50) x4=point(75,50) side2=polygon([x3,x4], fill="none", stroke="white", stroke_width=1) show(side2) x5= point(40,50) x6=point(75,40) side3= polygon([x5,x6], fill="none", stroke="white", stroke_width=1) show(side3) #colar col=rectangle(w=8, h= 100, x=3,y= 0, fill="red", stroke="silver") |rotate(90) |translate(x=0,y=0) show(col) #BELL bl=circle(r=10, x=0, y=-10, fill="yellow", stroke="silver", stroke_width=1) show(bl) dl1= rectangle(w=5, h=25,x=-10,y=0, fill="none", stroke="black", stroke_width=1) |rotate(90) show(dl1) print(" DOREMON ")
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login