Pookkalam by Arfaz Khan Hijas Khan

Code

#Background
H = rectangle(h=300,w=300,fill="#afd6ae",stroke="white",stroke_width=3)
#OuterDiya
O = ellipse(w=9,h=14,x=-91,y=81,fill="yellow",stroke="brown",stroke_width=2.1)
n = ellipse(w=9,h=14,x=91,y=81,fill="yellow",stroke="brown",stroke_width=2.1)
a1= ellipse(w=9,h=14,x=-91,y=-81,fill="yellow",stroke="brown",stroke_width=2.1)
m = ellipse(w=9,h=14,x=91,y=-81,fill="yellow",stroke="brown",stroke_width=2.1)
T = ellipse(w=9,h=14,x=-122.5,y=0,fill="yellow",stroke="brown",stroke_width=2.1)
i = ellipse(w=9,h=14,x=122.5,y=0,fill="yellow",stroke="brown",stroke_width=2.1)
n1= ellipse(w=16,h=9,x=0,y=120,fill="yellow",stroke="brown",stroke_width=2.1)
k = ellipse(w=16,h=9,x=0,y=-120,fill="yellow",stroke="brown",stroke_width=2.1)
##Pookalam##
#OuterPacha
a = ellipse(w=270,h=200,fill="darkgreen",stroke="none") |repeat(8,rotate(45))
#OuterVella
pp = ellipse(w=260,h=200,fill="#fff",stroke="none") |repeat(8,rotate(45))
#OuterOrange
y = ellipse(w=230, h=190, fill = 'orange', stroke ='orange') | repeat(4, rotate(60))
#InnerManjaSmallArch
e = ellipse (w=210,h=73,fill="white",stroke="#964B00",stroke_width=1.5) | repeat (25,rotate (10))
#InnerDiya
o3 = circle(r=5,y=121,fill="#f2cf07",stroke="#964B00",stroke_width=3)| translate(y=-180)| repeat(10,rotate(35))| scale(0.92)
#InnerOrangeCircle
r = ellipse( w=200,h=130,fill="#FF4500",stroke="white",stroke_width=1.5)|repeat(200,rotate(100))
h1 = circle(r=89, fill="#062608",stroke="white",stroke_width=2)
#InnerSqrdShapes
u = rectangle(w=124,h=124, fill="#f7d022", stroke="#white",stroke_width=0.6) | rotate(10) | repeat(9, rotate(10))
b = rectangle(w=113,h=113, fill="#fc5f16", stroke="white",stroke_width=0.6) | rotate(14) | repeat(9, rotate(10))
C = rectangle(w=104,h=104, fill="#af3b43", stroke="white",stroke_width=0.6) | rotate(16) | repeat(9, rotate(10))
o1 = rectangle(w=92,h=92, fill="#bd7d85", stroke="white",stroke_width=0.6) | rotate(12) | repeat(10, rotate(10))
#amoeba
d = ellipse(w=80, h=110, fill="#062608",stroke="#062608") | repeat(5, rotate(angle=40))
#InnerKalaPerwaadi
e1= circle(x = 42, y=0, r=2, fill ="#b00000",stroke ="#b00000") |repeat(8, rotate(45))
A1= rectangle(x=28, y=0, w=15, h=35, fill= "#127512",stroke ="#127512", stroke_width=0.3) | repeat(8, rotate(45))
P = circle(x=25, y=0, r=10.5, fill= "#d68c06", stroke="yellow") | repeat(9, rotate(45))
o2= ellipse(x=20, y=0, w=19 ,h=9, fill= "black", stroke = "#ad44a1", stroke_width = 3) | repeat(9, rotate(45))
kk= circle(r=18,fill="#e8dfdf",stroke="none")
#mask
p1 = point(x=0, y=5)
p2 = point(x=0, y=-5)
p3 = point(x=10, y=-3)
p4 = point(x=10, y=3)
a3 = polygon([p1, p2, p3, p4],fill="#8BE3D9",stroke="#8BE3D9")
p5 = point(x=0, y=5)
p6 = point(x=0, y=-5)
p7 = point(x=-10, y=3)
p8 = point(x=-10, y=-3)
a4 = polygon([p5, p6, p8, p7],fill="skyblue",stroke="skyblue")
m1 = circle(r=3.8, x=10, stroke="#8BE3D9", stroke_width=0.5)
l = circle(r=3.8, x=-10, stroke="skyblue", stroke_width=0.5)
##PookalamReveal##
show(H,a,pp,y,  O,n,a1,m,  T,i,n1,k,e,r,h1,u,b,  C,o1,d,e1,  A1,  P,o2,o3,kk,a3,l,a4,m1)

##TinkerHubLogo##
stay = rectangle(w=25.5, h=8, fill='#2CC0CF', stroke='none', x=121, y=-119) 
home = rectangle(w=7, h=8, fill='#2078F9', stroke='none', x=140, y=-119)
stay1 = rectangle(w=35.5, h=8, fill='#FECD3D', stroke='none', x=126, y=-129.5) 
safe = rectangle(w=15, h=8, fill='#EE3C35', stroke='none', x=116, y=-140) 
happy = rectangle(w=7, h=8, fill='#91BF23', stroke='none', x=130, y=-140) 
onam = rectangle(w=7, h=8, fill='#045768', stroke='none', x=140, y=-140) 
##TinkerHubReveal##
show(stay,home, stay1,safe,  happy,onam)