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
Anujith Krishnan
Run
defouter(side,color): return rectangle(w=side,h=side,fill=color,stroke ="none") firstCircle = circle(r=145,fill="black",stroke="none") show(firstCircle) maroon=outer(side=203,color="#8b0000")|repeat(10,rotate(10)) show(maroon) red=outer(side=189,color="#ff0000")|rotate(5)|repeat(10,rotate(10)) show(red) orange=outer(side=174,color="#ff6700")|rotate(10)|repeat(10,rotate(10)) show(orange) amber=outer(side=160,color="#ffbf00")|rotate(15)|repeat(10,rotate(10)) show(amber) secondCircle = circle(r=100,color="#003300",stroke="none") show(secondCircle) c3=circle(r=95,fill="green") show(c3) def square(side,color): return rectangle(w=side, h=side, fill=color, stroke='none') r11 = square(side=65,color='#7d1004') | repeat(10, rotate(80)) r12 = square(side=79,color='golden') | rotate(10)| repeat(10, rotate(10)) r13= square(side=97,color='orange') | repeat(10, rotate(50)) r14= square(side=117,color='yellow') | rotate(15)| repeat(10, rotate(100)) show(r14,r13,r12,r11)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login