Pookkalam by Sradha P Naick

Code

c1=circle(r=153,fill="#996699",stroke="none")
show(c1)


r1 = rectangle(w=210,h=210,fill="#003b0e",stroke="none") | repeat(10, rotate(10))
r2 = rectangle(w=198,h=198,fill="#a10000",stroke="none") | rotate(15) | repeat(10, rotate(10))
r3 = rectangle(w=186,h=186,fill="#e64805",stroke="none") | rotate(20) | repeat(10, rotate(10))
r4 = rectangle(w=174,h=174,fill="#ff8503",stroke="none") | rotate(25) | repeat(10, rotate(10))
r5 = rectangle(w=162,h=162,fill="#ffd503",stroke="none") | rotate(30) | repeat(10, rotate(10))
r6 = rectangle(w=150,h=150,fill="#ffee6b",stroke="none") | rotate(35) | repeat(10, rotate(10))
r7 = rectangle(w=138,h=138,fill="#fffded",stroke="none") | rotate(40) | repeat(10, rotate(10))
c2 = circle(r=80, fill="#000000", stroke="#003b0e")
show(r1, r2, r3, r4, r5, r6, r7, c2)

r9 = rectangle(w=78,h=78,fill="#FFDD00",stroke="none") | rotate(16) | repeat(10, rotate(10))
r10 = rectangle(w=66,h=66,fill="#FF6600",stroke="none") | rotate(22) | repeat(10, rotate(10))
r11 = rectangle(w=54,h=54,fill="#9F1B1B",stroke="none") | rotate(28) | repeat(10, rotate(10))
r12 = rectangle(w=42,h=42,fill="#0D0101",stroke="none") | rotate(34) | repeat(10, rotate(10))

show(r9,r10,r11,r12)


sub2 = circle(x=50,y=0,r=18, fill="#600519", stroke="none")
sub3 = circle(x=50,y=0,r=15, fill="#af3b43", stroke="none")
sub4 = circle(x=50,y=0,r=12, fill="#fc5f16", stroke="none")
sub5 = circle(x=50,y=0,r=9, fill="#f7d022", stroke="none")
sub6 = circle(x=50,y=0,r=6, fill="#fcf5d9", stroke="none")


r8 = rectangle(w=90,h=90,fill="#ffffff",stroke="none" ) | repeat(10, rotate(10))
r9 = rectangle(w=58,h=58,fill="#008000",stroke="none") | rotate(16) | repeat(10, rotate(10))
r10 = rectangle(w=40,h=40,fill="#800000",stroke="none") | rotate(22) | repeat(10, rotate(10))
r11 = rectangle(w=30,h=30,fill="#FFA500",stroke="none") | rotate(28) | repeat(10, rotate(10))
r12 = rectangle(w=20,h=20,fill="#C71585",stroke="none") | rotate(34) | repeat(10, rotate(10))

show(r8,r9,r10,r11,r12)



subcombine = combine([sub2,sub3,sub4,sub5,sub6])

subfinal = subcombine | repeat(16, rotate(40))
show(subfinal)