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
pookkalam
By
Ahmed awad
Run
#circle main = circle(r=150, fill="black") #outer layer white = rectangle (w=209,h=209,fill="white", stroke="white") | repeat (15,rotate(50)) yellow = rectangle (w=193,h=193,fill="yellow", stroke="yellow")|rotate(15) | repeat (15,rotate(50)) orange = rectangle (w=178,h=178,fill="orange", stroke="orange")|rotate(0) | repeat (15,rotate(50)) red = rectangle (w=165,h=165,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(50)) darkred = rectangle (w=153,h=153,fill="darkred", stroke="darkred")|rotate(0) | repeat (15,rotate(50)) #innercircle inner_white = rectangle (w=140,h=140,fill="purple", stroke="white") | repeat (20,rotate(5)) #inner_circle #show show(main,white,yellow,orange,red,darkred,inner_white) c1 = circle(r=85, fill="green", stroke="white") c2 = circle(r=80, fill="pink", stroke="white") c3 = circle(r=75, fill="yellow", stroke="white") c4 = circle(r=70, fill="white", stroke="white") c5 = circle(r=65, fill="red", stroke="white") c6 = circle(r=60, fill="darkred", stroke="white") c7 = circle(r=55, fill="lightblue", stroke="white") c8 = circle(r=50, fill="blue", stroke="white") c9 = circle(r=45, fill="darkblue", stroke="white") c10 = circle(r=40, fill="orange", stroke="white") c11 = circle(r=35, fill="darkorange", stroke="white") c12 = circle(r=30, fill="darkgreen", stroke="white") c13 = circle(r=25, fill="purple", stroke="white") c14 = circle(r=20, fill="green", stroke="white") c15 = circle(r=15, fill="pink", stroke="white") c16 = circle(r=10, fill="yellow", stroke="white") c17 = circle(r=5, fill="red", stroke="white") show(c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16,c17) s1 = ellipse(stroke="blue", stroke_width=3) s2 = s1 | rotate(45) s3 = s1 | rotate(90) s4 = s1 | rotate(135) show(s1, s2, s3, s4)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login