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
poovonam
By
Rose Anto
Run
c1 = circle(r=150,fill="black") show(c1) r1 = rectangle (w=210,h=210,fill=" DarkSlateBlue", stroke="DarkSlateBlue") | repeat (10,rotate(50)) r2 = rectangle (w=195,h=195,fill="SeaGreen", stroke="SeaGreen")|rotate(15) | repeat (10,rotate(50)) r3 = rectangle (w=179,h=179,fill="MediumOrchid", stroke="MediumOrchid")|rotate(0) | repeat (10,rotate(50)) r4 = rectangle (w=162,h=162,fill="Orchid", stroke="Orchid")|rotate(15) | repeat (10,rotate(50)) c2 = circle(r=105,fill="black",stroke="Plum",stroke_width=3) show (r1,r2,r3,r4,c2) def square(color, side): return rectangle(w=side, h=side, fill=color, stroke='none') br1=square(side=145,color='white') | repeat(15, rotate(15)) br2=square(side=135,color='blue') | repeat(15, rotate(15)) e5=ellipse(w=50,h=200,x=0,y=50,fill="maroon") | repeat(7, rotate(51.4)) e4=ellipse(w=40,h=180,x=0,y=45,fill="red") | repeat(7, rotate(51.4)) e3=ellipse(w=40,h=180,x=0,y=35,fill="orange") | repeat(7, rotate(51.4)) e2=ellipse(w=40,h=180,x=0,y=25,fill="yellow") | repeat(7, rotate(51.4)) show(e5,e4,e3,e2,br1,br2) c3=circle(r=85,fill="#00FF00") show(c3) r1 = square(side=65,color='cyan') | repeat(10, rotate(30)) r2 = square(side=79,color='yellow') | rotate(15)| repeat(10, rotate(30)) r3= square(side=97,color='maroon') | repeat(10, rotate(30)) r4=square(side=117,color='green') | rotate(15)| repeat(10, rotate(30)) show(r4,r3,r2,r1) c2=circle(r=36,fill="black") show(c2) e1=ellipse(w=30,h=17,x=20,y=0,stroke='MediumSlateBlue',stroke_width=2,fill="Darkblue") | rotate(22.5) petal=e1 | repeat(9, rotate(45)) show(petal) c1=circle(r=5,fill="white",stroke="none") show(c1)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login