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
New Sketch
By
Aysha PS
Run
r1=rectangle(w=320,h=320) #,fill="skyblue") c1=circle(r=230,x=-100,y=-250,fill="#00b33c") c2=circle(r=230,x=110,y=-220,fill="#00b33c") c3=circle(r=20,x=-100,y=100,fill="Gold") z1=line(x1=-108,y1=123,x2=-115,y2=145) z2=line(x1=-98,y1=123,x2=-95,y2=145) z3=line(x1=-86,y1=120,x2=-75,y2=135) z4=line(x1=-78,y1=110,x2=-60,y2=117) z5=line(x1=-75,y1=95,x2=-55,y2=90) z6=line(x1=-98,y1=123,x2=-95,y2=145) z7=line(x1=-98,y1=123,x2=-95,y2=145) z8=line(x1=-98,y1=123,x2=-95,y2=145) z9=line(x1=-98,y1=123,x2=-95,y2=145) z10=line(x1=-98,y1=123,x2=-95,y2=145) show(r1,c1,c2,c3,z1,z2,z3,z4,z5,z6,z7,z8,z9,z10) #background house r1=rectangle(w=25,h=15,x=120,y=13,fill="Salmon") p1=point(106,27) p2=point(134,27) p3=point(103,20) p4=point(137,20) shape=polygon([p1,p2,p4,p3],fill="DarkRed") r2=rectangle(w=8,h=10,x=120,y=10,fill="FireBrick") show(r1,shape,r2) #front house p1=point(-5,-30) p2=point(-15,10) p3=point(12,40) p4=point(40,10) p5=point(25,-35) shape1=polygon([p1,p2,p3,p4,p5],fill="RosyBrown ") show(shape1) p1=point(40,10) p2=point(67,5) p3=point(59,-30) p4=point(25,-35) shape2=polygon([p1,p2,p3,p4],fill="RosyBrown") show(shape2) p1=point(12,40) p2=point(40,5) p3=point(67,5) p4=point(59,38) shape3=polygon([p1,p2,p3,p4],fill="#663300") show(shape3) #windows at front house p1=point(3,12) p2=point(20,12.5) p3=point(17,-6) p4=point(3,-5) shape4=polygon([p1,p2,p3,p4],fill="Gainsboro") show(shape4) #door p1=point(45,-5) p2=point(55,-5) p3=point(50,-30) p4=point(40,-32) shape4=polygon([p1,p2,p3,p4],fill="IndianRed") show(shape4) #fence z11=line(x1=-8,y1=-20,x2=-35,y2=-15.5,stroke_width=1.5) z12=line(x1=-6,y1=-28,x2=-35,y2=-35,stroke_width=1.5) z13=line(x1=-12,y1=-14,x2=-9.5,y2=-34,stroke_width=1.5) z14=line(x1=-16,y1=-9,x2= show(z11,z12,z13)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login