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
pookalm
By
S3 CSEA 07 Ajay Johny
Run
c1 = circle(r=150,fill="Green") show(c1) r1 = rectangle (w=210,h=210,fill=" Red", stroke="Red") | repeat (20,rotate(100)) r2 = rectangle (w=195,h=195,fill="Yellow", stroke="Yellow")|rotate(15) | repeat (20,rotate(100)) r3 = rectangle (w=179,h=179,fill="orange", stroke="Orange")|rotate(0) | repeat (10,rotate(50)) r4 = rectangle (w=162,h=162,fill="Blue", stroke="Blue")|rotate(15) | repeat (10,rotate(50)) c2 = circle(r=105,fill="black",stroke="Yellow",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='red') | repeat(15, rotate(15)) show(br1,br2) c3=circle(r=85,fill="Coral") show(c3) 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) c2=circle(r=36,fill="black") show(c2) e1=ellipse(w=30,h=17,x=20,y=0,stroke='Orange',stroke_width=2,fill="Darkblue") | rotate(22.5) petal=e1 | repeat(12, rotate(45)) show(petal) cz=circle(r=5,fill="white",stroke="none") show(cz)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login