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 test
By
Aby Varghese
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=circle(r="100", fill="orange",stroke="orange") inner_white = rectangle (w=137,h=137,fill="white", stroke="white") | repeat (7,rotate(30)) inner_white_pink = rectangle (w=130,h=130,fill="pink", stroke="pink") | repeat (7,rotate(30)) inner_white_inner_pink = rectangle (w=120,h=120,fill="#EB00F7", stroke="#EB00F7") | repeat (7,rotate(30)) inner_white_inner_red = rectangle (w=110,h=110,fill="red", stroke="red") | repeat (7,rotate(30)) inner_white_inner_green = rectangle (w=100,h=100,fill="black", stroke="black") | repeat (7,rotate(30)) #innercircle inner_circle_black = circle(r=60, fill="black") inner_circle_yellow = circle(r=60, fill="yellow") inner_circle_green= circle(r=40, fill="green",stroke="green") inner_circle_darkgreen = circle(r=20, fill="darkgreen") e1=ellipse(w=60,h=15,x=0,y=0,stroke='darkred',stroke_width=3,fill="red") | rotate(25) petal=e1 | repeat(8, rotate(45)) blue_circle=circle(r=10, fill="light blue") circle=circle(r=10, fill="white",stroke="white") s10 = line(x1=10, y1=0, x2=60, y2=0, stroke="black",stroke_width=3) s11 = s10 | repeat(20, rotate(36)) s12 = line(x1=10, y1=0, x2=20, y2=0, stroke="brown",stroke_width=10) s13 = s12 | repeat(5, rotate(72)) s14 = line(x1=20, y1=0, x2=40, y2=0, stroke="yellow",stroke_width=10) s15 = s14 | repeat(5, rotate(72)) #show show(main,white,yellow,orange,red,darkred,inner,inner_white,inner_white_pink,inner_white_inner_pink,inner_white_inner_red,inner_white_inner_green,inner_circle_black,inner_circle_yellow,inner_circle_green,inner_circle_darkgreen,s14,s15,s12,s13,s10,s11,petal,blue_circle,circle)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login