Pookkalam by Unnikrishnan N P

Code

# circles
c1 = circle (r=75,stroke ="yellow",stroke_width =6)
c2 = circle (r=118, stroke ="#802626", stroke_width =3)
c3 = circle (r=116,stroke ="#e8591c", stroke_width =3)
c4 = circle (r=114,stroke ="yellow", stroke_width =3)
c5 = circle (r=112,stroke ="white", stroke_width=3)
c6 = circle (r=110,stroke ="yellow", stroke_width=3)


# flower
c4 = ellipse(w=4,h=8,fill="#e8591c",stroke="none")|translate(y=5)|repeat(8,rotate(45))
c5 = circle(r=3,fill="white",stroke="none")
shape = c4 + c5
flower = shape|translate(y=100)|repeat(40,rotate(10))

# ellipses
e1 = ellipse (w=15,h=25,x=100,y=0,fill="orange", stroke ="none")|repeat (40,rotate (10))
e2 = ellipse(h=80,w=20,x=0,y=50,stroke="none",fill="#AE1D16")|repeat(30,rotate(20))
e3 = ellipse(h=70,w=20,x=0,y=50,stroke="none",fill="#e76208")|rotate(30)|repeat(30,rotate(20))


# rectangles
r1 = rectangle(w=220,h=220,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
r2 = rectangle(w=200,h=200,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
r3 = rectangle(w=180,h=180,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
r4 = rectangle(w=160,h=160,fill="#820a0a",stroke="none")|repeat(20,rotate(50))



show(r1,r2,r3,r4,c2,c3,c4,c5,e1,flower,e2,e3,c6)