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
Try1
By
Reshmi
Run
#outer circle c = circle(r=149, fill="brown", stroke="orange", stroke_width= 2) show(c) #canvas r= rectangle(w=300, h=300, fill= "black") show(r) r1= rectangle (w=50,h=150,fill="brown", stroke="brown") | repeat (15,rotate(50)) r2 = rectangle (w=230,h=200,fill="red", stroke="red")|rotate(15) | repeat (20,rotate(50)) r3 = rectangle (w=150,h=178,fill="orange", stroke="orange")|rotate(0) | repeat (20,rotate(50)) r4 = rectangle (w=75,h=165,fill="yellow", stroke="yellow")|rotate(15) | repeat (15,rotate(50)) r5 = rectangle (w=150,h=153,fill="white", stroke="white")|rotate(0) | repeat (15,rotate(50)) show(r5, r2, r3, r4, r1) ie=ellipse(w=50,h=100/3,fill="red", stroke="brown", x=-50) | repeat(10, rotate(36)) show(ie) c1=ellipse(h=100,w=5,fill="violet")|repeat(50,rotate(15)) c2=ellipse(h=30,w=10,fill="pink")|repeat(50,rotate(15)) c3=circle(r=15,fill="white") show(c1, c2, c3) r6 = rectangle (w=15,h=15,fill="pink", stroke="black")|rotate(0) | repeat (15,rotate(50)) show(r6) c4=circle(r=7,fill="black") show(c4) #SCRAPPED #lines z2 = line(x1=0, y1=-150, x2=0, y2=150) z1 = line(x1=0, y1=-150, x2=-150, y2=0) mz1 = line(x1=0, y1=-150, x2=150, y2=0) z3 = line(x1=0, y1=-150, x2=-125, y2=80) mz3 = line(x1=0, y1=-150, x2=125, y2=80) z4 = line(x1=0, y1=-150, x2=-75, y2=130) mz4 = line(x1=0, y1=-150, x2=75, y2=130) #show(z1, mz1, z2, z3, mz3, z4, mz4) #peacock ellipse e1 = ellipse(x=2.5, y=-135, w=90 ,h=25, fill= "purple", stroke = "purple", stroke_width = 10) | rotate(7.5) e2 = ellipse(x=-0.5, y=-85, w=25 ,h=95, fill= "purple", stroke = "purple", stroke_width = 10) | rotate(-10) e3 = ellipse(x=-25, y=-40, w=40 ,h=15, fill= "purple", stroke = "purple", stroke_width = 10) | rotate(3) #show(e1, e2, e3) #beak p1 = point(x=-45, y=-40) p2 = point(x=-45, y=-50) p3 = point(x=-55, y=-60) t1 = polygon([p1, p2, p3], fill= "yellow") #show(t1) #eye e = ellipse(x=-35, y=-40, w=9.5 ,h=8, fill= "yellow", stroke = "black", stroke_width = 1) | rotate(3) #show(e) ce = circle(x=-32, y=-41.5, r= 2.5, fill= "blue") #show(ce)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login