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
pikachu
By
n harika
Run
#ears e1=ellipse(w=23,h=75,fill="black",stroke="black") | translate(x=-50,y=100) show(e1) e2=ellipse(w=23,h=75,fill="black",stroke="black") | translate(x=50,y=100) show(e2) e3=ellipse(w=17,h=60,fill="#ffe200",stroke="black") | translate(x=-50,y=100) show(e3) e4=ellipse(w=17,h=60,fill="#ffe200",stroke="black") | translate(x=50,y=100) show(e4) #tail rec1=rectangle(w=40,h=110,fill=" #ffe200" ,stroke="black",stroke_width=2) |rotate(120) |translate(x=75,y=30) show(rec1) #face s3=ellipse(r=100,w=110,h=110,fill=" #ffe200",stroke_width=2,stroke="black") |translate(y=60) show(s3) #eyes c1=circle(fill="black",r=10,x=20,y=80)+circle(fill="white",r=6,x=20,y=83) c2=circle(fill="black",r=10,x=-20,y=80)+circle(fill="white",r=6,x=-20,y=83) show(c1,c2) #mouth p1=point(-20,45) p2=point(-20,35) p3=point(0,25) p4=point (20,35) p5=point(20,45) pichu=polygon([p1,p2,p3,p4,p5],fill="#ffaf81",stroke="black",stroke_width=2) show(pichu) #nose n1=point(-5,60) n2=point(5,60) n3=point(0,55) nose=polygon([n1,n2,n3],fill="black") |rotate(0) show(nose) #checks ch1=circle(r=10,x=-45,y=40,fill="red",stroke="black",stroke_width=2) show(ch1) ch2=circle(r=10,x=45,y=40,fill="red",stroke="black",stroke_width=2) show(ch2) #hands elp3=ellipse(fill="#ffe200",stroke="black",w=90,h=30 ) |rotate(135)|translate(x=-60,y=-10) elp4=ellipse(fill="#ffe200",stroke="black",w=90,h=30 ) |rotate(225)|translate(x=60,y=-10) show(elp3,elp4) #legs elp1=ellipse(fill="#ffe200",stroke="black",w=90,h=30 ) |rotate(225)|translate(x=-30,y=-115) elp2=ellipse(fill="#ffe200",stroke="black",w=90,h=30 ) |rotate(135) |translate(x=30,y=-115) show(elp1,elp2) #fingers z1=line(x1=-85,y1=23,x2=-80,y2=15)+line(x1=85,y1=23,x2=80,y2=15) + line(x1=90,y1=23,x2=82,y2=10) +line(x1=-90,y1=23,x2=-82,y2=10) z2=line(x1=-92,y1=20,x2=-81,y2=0) + line(x1=92,y1=20,x2=81,y2=0) show(z1,z2) z3=line(x1=-63,y1=-145,x2=-45,y2=-125) +line(x1=63,y1=-145,x2=45,y2=-125) z4=line(x1=-60,y1=-147,x2=-47,y2=-139)+ line(x1=60,y1=-147,x2=47,y2=-139) z5=line(x1=-64,y1=-138,x2=-53,y2=-125) +line(x1=64,y1=-138,x2=53,y2=-125) show(z3,z4,z5) #body h1=point(-45,6) h2=point(-60,-50) h3=point(-60,-80) h4=point(-30,-100) h5=point(30,-100) h6=point(60,-80) h7=point(60,-50) h8=point(45,6) joint=polygon([h1,h2,h3,h4,h5,h6,h7,h8], fill="#ffe200",stroke="black",stroke_width=2) show(joint)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login