Pookkalam by Nazeeya

Code

square= rectangle( w=300, h=300,stroke_width=10,fill="gold",stroke="green")
show(square)

ss1 = ellipse(w=150,h=300,stroke_width=10,stroke="darkgreen")
ss2 = ss1 | rotate(135)
ss3 = ss1 | rotate(45)
show( ss2, ss3)

e1 = circle(x=-100,y=0,r=75,stroke_width=6,stroke="darkgreen",fill="crimson")|repeat(4,rotate(90))
show(e1)

t1 = point(x=-30, y=125)
t2 = point(x=30, y=125)
t3 = point(x=0, y=100)
t4 = point(x=0, y=150)
shape = polygon([t1, t3, t2,t4],fill="Pink",stroke="lightpink",stroke_width=5)|repeat(4,rotate(90))
show(shape)

dots1=circle(r=10,x=-42,y=125,fill="Gold",stroke="gold")|repeat(4,rotate(90))
show(dots1)
dots2=circle(r=10,x=42,y=125,fill="Gold",stroke="gold")|repeat(4,rotate(90))
show(dots2)

outcircle = circle(stroke_width=7,stroke="darkgreen",fill="orange")
show(outcircle)

z = line(x1=0, y1=100, x2=0, y2=150,stroke_width=10,stroke="darkgreen")|repeat(4,rotate(90))
show(z)
fill = color(r=130, g=11, b=163)
s1 = ellipse(w=70,h=190,fill=fill,stroke="MediumVioletRed",stroke_width=5)
s2 = s1 | rotate(120)
s3 = s1 | rotate(60)
show(s1, s2, s3)

dots3=circle(r=12,x=0,y=50,fill="Gold",stroke="gold")|repeat(6,rotate(60))
show(dots3)
dots6=circle(r=8.5,x=-46, y=82,fill="gold",stroke="gold")|repeat(6,rotate(60))
show(dots6)
outcircleb = circle(stroke_width=7,stroke="darkgreen")
show(outcircleb)

t3 = point(x=-75, y=75)
t1 = point(x=-145, y=145)
t2 = point(x=-100, y=125)
t4 = point(x=-125, y=100)
diamond=polygon([t1, t2, t3, t4],stroke_width=4,fill="DarkMagenta",stroke="darkgreen")|repeat(4,rotate(90))
show(diamond)

z1 = line(x1=74, y1=74, x2=200, y2=200,stroke_width=10,stroke="darkgreen")|repeat(4,rotate(90))
show(z1)

incircle1=circle(r=50,stroke_width=5,fill="yellow",stroke="OrangeRed")
incircle2=circle(r=20,stroke="Tomato")
incircle3=circle(r=35,stroke="orange")
show ( incircle1,incircle2)

square2=rectangle(x=-24,y=24,w=18,h=18,fill="red",stroke="OrangeRed")|repeat(10, rotate(40))
show(square2)

show(incircle3)

center1=ellipse(w=100,h=60,stroke="BlanchedAlmond",stroke_width=0.1)| repeat(60,rotate(5)|scale(1))
center2=ellipse(w=40,h=8,stroke="magenta",stroke_width=0.2)| repeat(60,rotate(5))
show(center1,center2)

square2= rectangle( w=300, h=300,stroke_width=10,stroke="darkgreen")
show(square2)