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
Pookalam
By
Jijo James
Run
main = circle(r=150, fill="black") white_square = rectangle (w=209,h=209,fill="white", stroke="white") | repeat (15,rotate(50)) yellow_square = rectangle (w=193,h=193,fill="yellow", stroke="yellow")|rotate(15) | repeat (15,rotate(50)) orange_square = rectangle (w=178,h=178,fill="orange", stroke="orange")|rotate(0) | repeat (15,rotate(50)) red_square = rectangle (w=165,h=165,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(50)) darkred_square = rectangle (w=153,h=153,fill="darkred", stroke="darkred")|rotate(0) | repeat (15,rotate(50)) s=combine([main,white_square,yellow_square,orange_square,red_square,darkred_square]) show(s) c1 = circle(r=150,fill="purple") c2 = circle(r=140,fill="white") c3 = circle(r=130,fill="green") sq1 = rectangle(w=180,h=180,fill="yellow") | repeat(6,rotate(60)) e1 = ellipse(w=260,h=80,fill="white") e2 = ellipse(w=200,h=30,fill="purple") e = e1+e2 | repeat(3,rotate(120)) s1= ellipse(w=260,h=50,fill="purple") | repeat(6,rotate(30)) c4 = circle(r=70,fill="green") c5 = circle(r=60,fill="yellow") c6 = circle(r=40,fill="green") c7 = circle(r=30,fill="orange") e3 = ellipse(w=40,h=10,fill="purple") | repeat(6,rotate(30)) shape=combine([c1,c2,c3,sq1,s1,e,c4,c5,c6,c7,e3]) | scale(0.65) show(shape)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login