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
1
.
By
Sidharth S
Run
s=circle(r=145,fill='maroon', stroke='none') show(s) rec=rectangle(w=200,h=200,fill='snow', stroke='snow') | repeat(60,rotate(40)) show(rec) rect=rectangle(w=185,h=185,fill='yellow', stroke='yellow') | rotate(45) rect=rect | repeat(60,rotate(40)) show(rect) rec1=rectangle(w=172,h=172,fill='gold', stroke='gold') | repeat(60,rotate(40)) show(rec1) rec2=rectangle(w=161,h=161,fill='orange', stroke='orange') | rotate(45) rec2=rec2 | repeat(60,rotate(40)) show(rec2) rect1=rectangle(w=149,h=149,fill='Red', stroke='Red') | repeat(60,rotate(40)) show(rect1) rec3=rectangle(w=136,h=136,fill='darkred', stroke='darkred') | rotate(45) rec3=rec3 | repeat(60,rotate(40)) show(rec3) cir=circle(r=84,fill='darkgreen',stroke='darkgreen') show(cir) rec5=rectangle(w=118,h=118,fill='snow',stroke='snow')|repeat(25,rotate(45)) show(rec5) rec6=rectangle(w=106,h=106,fill='violet',stroke='violet')|repeat(25,rotate(45)) show(rec6) rec7=rectangle(w=94,h=94,fill='magenta',stroke='magenta')|repeat(25,rotate(45)) show(rec7) rec8=rectangle(w=82,h=82,fill='crimson',stroke='crimson')|repeat(25,rotate(45)) show(rec8) rec9=rectangle(w=70,h=70,fill='firebrick',stroke='firebrick')|repeat(25,rotate(45)) show(rec9) circ=circle(r=37,fill='yellow',stroke='yellow') show(circ) circ=circle(r=30,fill='green',stroke='green') show(circ) circ=circle(r=23,fill='orange',stroke='orange') show(circ) circ=circle(r=16,fill='red',stroke='red') show(circ) l1=line(x1=37,y1=0,x2=-37,y2=0) show(l1) l2=line(x1=0,y1=37,x2=0,y2=-37) show(l2) l3=l1 | rotate(90/3) show(l3) l4=l2 | rotate(90/3) show(l4) l5=l3 | rotate(90/3) show(l5) l6=l4 | rotate(90/3) show(l6) l1=line(x1=30,y1=0,x2=-30,y2=0) | rotate(90/6) show(l1) l2=line(x1=0,y1=30,x2=0,y2=-30) | rotate(90/6) show(l2) l3=l1 | rotate(90/3) show(l3) l4=l2 | rotate(90/3) show(l4) l5=l3 | rotate(90/3) show(l5) l6=l4 | rotate(90/3) show(l6) circl=circle(r=5,fill='white') show(circl)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login