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
BOB THE MINION
By
Theertha A J
Run
#background bg1=rectangle(x=0,y=0,w=1000,h=1000,fill="#DEC4D6") bg2=ellipse (y=-5,w=170,h=250,stroke="#40393E",fill="white") spiral= rectangle(w=299, h=299,stroke="#F4C815") | repeat(60, rotate(5)|scale(0.92)) show(bg1,spiral,bg2) #lower body pants=circle(x=0,y=-37,r=49,stroke="none",fill="#213c70") leg1=ellipse(x=16,y=-95,w=18,h=10,fill="black")+rectangle(x=16,y=-80,w=14,h=24,stroke="none",fill="#213c70") leg2=leg1 | translate(x=-32) show(pants,leg1,leg2) #hands a1=rectangle(x=30,y=-35,w=15,h=70,stroke="none",fill="#f5e050") | rotate(30) a2=rectangle(x=-30,y=-35,w=15,h=70,stroke="none",fill="#f5e050") | rotate(-30) h1=ellipse(x=30,y=-70,w=18,h=10,fill="black")| rotate(30) h2=ellipse(x=-30,y=-70,w=18,h=10,fill="black")| rotate(-30) show(a1,a2,h1,h2) #face c1 = circle(x=0,y=32,r=50,stroke="none",fill="#f5e050") r1=rectangle(x=0,y=0,w=98,h=88,stroke="none",fill="#f5e050") show(c1,r1) #smile smile=ellipse(x=0,y=-5,w=45,h=15)+rectangle(x=0,y=0,w=50,h=14,stroke="none",fill="#f5e050") show(smile) #eyes and goggles r3=rectangle(x=0,y=22,w=100,h=8,fill="#54658b",stroke="none") donut1=circle(x=-18,y=22,r=22,fill="#54658b",stroke="none")+ circle(x=-18,y=22,r=14,fill="white",stroke="none")+circle(x=-14,y=22,r=5,fill="#8b4513",stroke="none")+circle(x=-14,y=22,r=2,fill="black") donut2=circle(x=18,y=22,r=22,fill="#54658b",stroke="none")+ circle(x=18,y=22,r=14,fill="white",stroke="none")+circle(x=14,y=22,r=5,fill="#8b4513",stroke="none")+circle(x=14,y=22,r=2,fill="black") r4=rectangle(x=0,y=-40,w=55,h=45,stroke="none",fill="#213c70") show(r3,donut1,donut2,r4) #dungree strip p1 = point(x=50, y=0) p2 = point(x=50, y=-8) p3 = point(x=20, y=-30) p4 = point(x=20, y=-22) shape1 = polygon([p1,p2,p3,p4],fill="#213c70") p1 = point(x=-50, y=0) p2 = point(x=-50, y=-8) p3 = point(x=-20, y=-30) p4 = point(x=-20, y=-22) shape2 = polygon([p1,p2,p3,p4],fill="#213c70") show(shape1,shape2) #hair x1,y1=-12,75 x2,y2=-14,85 z1=line(x1,y1,x2,y2)|repeat(3,rotate(-10)) show(z1) #design p1 = point(x=0, y=-35) p2 = point(x=10, y=-45) p3 = point(x=0, y=-55) p4 = point(x=-10, y=-45) design =circle(y=-45,r=12,fill="black")+polygon([p1,p2,p3,p4],fill="#213c70")+circle(y=-45,r=3,fill="black")+line(x1=0,y1=-45,x2=10,y2=-45) show(design)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login