Pookkalam by Niranjana K

Code

black = color(r=18,g=41,b=23)
darkred = color(r=153, g=28, b=28)
red= color(r=230, g=72, b=5)
yellow= color(r=255, g=215, b=13)
yellowwhite = color(r=250, g=245, b=166)

c = circle(r=140)


rec1 = rectangle(w=200,h=200,fill=black,stroke='none') | repeat(10, rotate(10))
rec2 = rectangle(w=185,h=185,fill=darkred,stroke='none') | rotate(5) | repeat(10, rotate(10))
rec3 = rectangle(w=171,h=171,fill=red,stroke='none') | rotate(10) | repeat(10, rotate(10))
rec5= rectangle(w=146,h=146,fill=yellow,stroke='none') | rotate(20) | repeat(10, rotate(10))
rec7= rectangle(w=120,h=120,fill=yellowwhite,stroke='black') | rotate(30) | repeat(10, rotate(10))
rect=combine([rec1,rec2,rec3,rec5,rec7])

c1= circle(r=60, fill= "skyblue", stroke="darkgreen",stroke_width=6)
r1 = rectangle(w=30,h=30,fill="red",stroke="black", stroke_width=4)|repeat(20,rotate(45))


c2 = circle(r=8,x=40,fill="indigo")|rotate(90)|repeat(6,rotate(60))
c3 = circle(r=4,x=40,fill="yellow")|rotate(90)|repeat(6,rotate(60))
c4 = circle(r=32,fill="orange",stroke='black')
c5 = circle(r=25,fill="yellow",stroke='none')



show(rect,c1,c2,c3,c4,c5,r1,c)