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
clapperboard
By
Cathy Harin
Run
# using basics #below a=point(x=-150,y=-150) b=point(x=150,y=-150) c=point(x=150,y=0) d=point(x=-150,y=0) #lines e=line(x1=-100,y1=-100,x2=100,y2=-100,stroke="white",stroke_width=5) f=line(x1=-100,y1=-50,x2=100,y2=-50,stroke="white",stroke_width=5) g=line(x1=-50,y1=-100,x2=-50,y2=-150,stroke="white",stroke_width=5) h=line(x1=50,y1=-100,x2=50,y2=-150,stroke="white",stroke_width=5) shape=polygon([a,b,c,d,a],fill="black") #above i=point(x=-150,y=0) j=point(x=150,y=50) k=line(x=100,y=100) l=line(x=-150,y=50) shape1=polygon([i,j,k,l,i],fill="black") #upper m=line(x1=-100,y1=-19,x2=-100,y2=105,stroke="white",stroke_width=15) | rotate(-12) n=line(x1=-50,y1=4,x2=-50,y2=100,stroke="white",stroke_width=16)| rotate(-12) o=line(x1=0,y1=19,x2=0,y2=100,stroke="white",stroke_width=15)| rotate(-12) p=line(x1=50,y1=160,x2=50,y2=40,stroke="white",stroke_width=16)| rotate(-12) #lower q=line(x1=-100,y1=0,x2=-100,y2=-25,stroke="white",stroke_width=16) r=line(x1=-50,y1=0,x2=-50,y2=-25,stroke="white",stroke_width=16) s=line(x1=0,y1=0,x2=0,y2=-25,stroke="white",stroke_width=16) t=line(x1=50,y1=0,x2=50,y2=-25,stroke="white",stroke_width=16) u=line(x1=100,y1=0,x2=100,y2=-25,stroke="white",stroke_width=16) #display show(shape,e,f,g,h,shape1,m,n,o,p,q,r,s,t,u) print("clapperboard")
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login