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
Ameena
Run
bg8=circle(r=190,stroke="none",fill="#21C4D3") bg7=circle(r=175,stroke="none",fill="white") bg6=circle(r=150,stroke="none",fill="#21C4D3") bg5=circle(r=125,stroke="none",fill="white") bg4=circle(r=100, stroke="none",fill="#21C4D3") bg3=circle(r=75, stroke="none",fill="White") bg2=circle(r=50, stroke="none",fill="#21C4D3") bg1=circle(r=25, stroke="none",fill="white") show(bg8,bg7,bg6,bg5,bg4,bg3,bg2,bg1) def big_c (x,y,r): head=circle(x=x,y=y,r=r,fill="white") return head b1=big_c(0,50,50) b2=big_c(0,-50,80) show(b2,b1) def eye(x,y): c=circle(x=x,y=y,r=5,fill="black") return c d1=eye(x=25,y=60) d2=eye(x=-25,y=60) d3=eye(x=0,y=-25) d4=eye(x=0,y=-50) d5=eye(x=0,y=-75) show (d1,d2,d3,d4,d5) p1=point(x=-45,y=75) p2=point(x=-15,y=95) p3=point(x=-45,y=120) shape=polygon([p1,p2,p3],fill="orange") show (shape) p1=point(x=-5,y=25) p2=point(x=-5,y=50) p3=point(x=15,y=45) shape=polygon([p1,p2,p3],fill="orange") show (shape) r=rectangle (w=75,h=5,fill="brown") r1=r|translate (x=80,y=-25)|rotate (30) r2=r|translate (x=-80,y=50)|rotate (60) show(r1,r2)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login