Pookkalam by Saurav K S

Code

Sk = circle(r = 100, fill = "#213644")
Gr = ellipse(y = -55, w = 250, h = 105, fill = "#008040")
Mn = circle(30, 50, r = 10, fill = "#fffee6")
Mn_s = circle(35, 55, r = 10, fill = "#213644", stroke = "none")
Sky = Sk + Gr + Mn + Mn_s

petal = ellipse(x = 17, w = 34, h = 32, fill = "tomato", stroke = "#321279")|repeat(9, rotate(40))
petal = petal|translate(75, -75)|repeat(10, rotate(36))

Design = circle(r = 100, stroke = "#2C3539")|repeat(70, scale(1.005))
Bc = circle(x = 130, r = 5, fill = "#a2c523", stroke = "none")|repeat(3, rotate(5.1)|scale(0.9))
Bc = Bc|repeat(24, rotate(15))

b1 = ellipse(w = 40, h = 25, fill = "#778899",stroke = "none")
h1 = circle(r = 10, x = -20, fill = "#778899",stroke = "none")
e1 = ellipse(x = -9, y = 3, w = 7, h = 10, fill = "#778899")
t1 = rectangle(-12, -9, w = 20, h = 5, fill = "#fffee6", stroke = "none")| rotate(-1)
l1 = rectangle(-10, -12, w = 7, h = 20, fill = "#778899", stroke = "none")
l2 = rectangle(12, -12, w = 7, h = 20, fill = "#778899", stroke = "none")
l3 = rectangle(-27, -10, w = 5, h = 25, fill = "#778899", stroke = "none")
l4 = rectangle(-25, -21, w = 7, h = 5, fill = "#778899", stroke = "none")
n1 = circle(-12, -22, r = 1, fill = "#fffee6", stroke = "none")
n2 = circle(-9, -22, r = 1, fill = "#fffee6", stroke = "none")
n3 = circle(9, -22, r = 1, fill = "#fffee6", stroke = "none")
n4 = circle(12, -22, r = 1, fill = "#fffee6", stroke = "none")
gr = rectangle(0, -23, w = 26, h = 2, fill = "#008040", stroke = "none")
tl = line(19, 0, 19, -17, stroke = "#778899")
aana = t1 + b1 + e1 + h1 + l2 + l3 + l1 + l4 + n1 + n2 + n3 + n4 + gr + tl

x1 = point(2, 8)
x2 = point(-2, 8)
x3 = point(-4, -4)
x4 = point(4, -4)
p = polygon([x1, x2, x3, x4], fill="#ffbb33")|repeat(2, translate(x = 13)|scale(0.9))
x1 = point(4, 15)
x2 = point(8, 15)
x3 = point(10, -4)
x4 = point(2, -4)
p1 = polygon([x1, x2, x3, x4], fill = "#ffbb33")
tri = (p + p1)|translate(x = -8)

l = line(0, 0, 75, 75, stroke = "#cccc00")
l1 = line(0, 0, 30, 0, stroke = "#cccc00") + circle(x = 32,r = 2, fill = "yellow", stroke = "red")|repeat(18, rotate(20))
fw = (l + l1)|rotate(270)

sh = rectangle(w = 30, h = 45, fill = "#e63946", stroke = "none")
sh1 = rectangle(w = 10, h = 15, fill = "#e63946", stroke = "none")|rotate(33)|translate(15, 14)
sh2 = rectangle(w = 10, h = 15, fill = "#e63946", stroke = "none")|rotate(-33)|translate(-15, 14)
hnd = rectangle(0, 6, w = 42, h = 10, fill = "#ffffcc", stroke = "none")
cr = line(-11, 10, 14, 5, stroke="grey")
mnd = rectangle(0, -40, w = 28, h = 37, fill = "#f7f5f6", stroke = "none")
mnd1 = rectangle(8, -40, w = 2, h = 37, fill = "#F0E68C", stroke = "none")
mnd2 = rectangle(11, -40, w = 1, h = 37, fill = "#F0E68C", stroke = "none")
mnd = mnd + mnd1 + mnd2
hd = rectangle(0, 30, w = 15, h = 16, fill = "#ffffcc", stroke = "none")
hr = rectangle(0, 38, w = 17, h = 10, fill = "#081c15", stroke = "none")
hr1 = rectangle(0, 30, w = 8, h = 3, fill = "#081c15", stroke = "none")
hd = hr + hd + hr1
shu = rectangle(-6, -60, w = 6, h = 3, fill = "#081c15", stroke = "none")|repeat(2, translate(12))
mn = shu + mnd + hd + sh + hnd + cr + sh1 + sh2

p1 = point(-15,23)
p2 = point(15,23)
p3 = point(9,-11)
p4 = point(15,-50)
p5 = point(-15,-50)
p6 = point(-9,-11)
p = polygon([p1, p2, p3, p4, p5, p6], fill = "#e4d96f", stroke = "none")
sh1 = rectangle(w = 10, h = 15, fill = "#e4d96f", stroke = "none")|rotate(33)|translate(15, 14)
sh2 = rectangle(w = 10, h = 15, fill = "#e4d96f", stroke = "none")|rotate(-33)|translate(-15, 14)
hnd = rectangle(0, 6, w = 42, h = 7, fill = "#ffffcc", stroke = "none")
hnd1 = rectangle(0, 10, w = 5, h = 10, fill = "#ffffcc", stroke = "none")
lne = line(0, 3, 0, 15, stroke = "grey")
hnd = hnd + hnd1 + lne
hd = rectangle(0, 30, w = 14, h = 15, fill = "#ffffcc", stroke = "none")
hr = rectangle(0, 30, w = 18, h = 22, fill = "#081c15", stroke = "none")
eyes = circle(-3,33,r=0.5)|repeat(2,translate(6))
hd = hr + hd + eyes
shu = rectangle(-6, -52, w = 6, h = 3, fill = "#081c15", stroke = "none")|repeat(2,translate(12))
wmn = hd + shu + p + sh1 + sh2 + hnd

aana = aana|translate(25)|scale(1.4)
tri = tri|translate(-15, -26)|scale(1.8)
fw = fw|translate(-10, 100)|scale(0.5)
mn = mn|scale(0.5)|translate(-45, 12)
wmn = wmn|scale(0.5)|translate(-23, 12)

show(Sky,petal,Design,Bc,fw,aana,tri,mn,wmn)