Pookkalam by Muhammed Farseen T P

Code

#BACK GROUND
rec=rectangle(w=300,h=300,fill="white")
rec2=rectangle

#OUTER STROKES
v=circle(r=143,fill="#FED4FF",stroke="none")
v1=circle(r=145,fill="#CDA4DE",stroke="none")
v2=circle(r=147,fill="#A77AEC",stroke="none")
v3=circle(r=150,fill="#4C2882",stroke="none")

#DECORATION CIRCLES PULLI
x=ellipse(w=20,h=8,x=90,y=0,fill="#4C2882",stroke="white",opacity="20%") | repeat(120,rotate(3))
x1=ellipse(w=3,h=3,x=90,y=0,fill="#4C2882",stroke="none",opacity="50%") | repeat(120,rotate(3))
x2=ellipse(w=4,h=4,x=85,y=0,fill="#4C2882",stroke="none",opacity="90%") | repeat(120,rotate(3))
x3=ellipse(w=2,h=2,x=95,y=0,fill="#4C2882",stroke="none",opacity="30%") | repeat(120,rotate(3))
x4=ellipse(w=3,h=3,x=110,y=0,fill="#4C2882",stroke="none",opacity="100%") | repeat(24,rotate(15))
x5=ellipse(w=4,h=4,x=124,y=0,fill="#ffffff",stroke="none",opacity="100%") | repeat(12,rotate(30))
x6=ellipse(w=3,h=3,x=132,y=0,fill="#ffffff",stroke="none",opacity="70%") | repeat(12,rotate(30))
x7=ellipse(w=2,h=2,x=137,y=0,fill="#ffffff",stroke="none",opacity="50%") | repeat(12,rotate(30))

#STAR PATTERN
q=rectangle(w=160,h=160,fill="#ffffff",stroke="none") | repeat(9,rotate(10))
q1=rectangle(w=170,h=170,fill="#FED4FF",stroke="none") | repeat(9,rotate(10))
q2=rectangle(w=180,h=180,fill="#CDA4DE",stroke="none") | repeat(9,rotate(10))
q3=rectangle(w=190,h=190,fill="#A77AEC",stroke="none") | repeat(5,rotate(30))
q4=rectangle(w=200,h=200,fill="#4C2882",stroke="none") | repeat(5,rotate(30))

#CIRCLE PATTERN AFTER STAR PATTERN
q5=circle(r=130,fill="#4C9A2A",stroke="none")
q6=circle(r=135,fill="#1E5631",stroke="none")
q7=circle(r=30,x=0,y=100,fill="#4C2882",stroke="none") | repeat(12,rotate(30))
q8=circle(r=35,x=0,y=100,fill="#A77AEC",stroke="none") | repeat(12,rotate(30))
q9=circle(r=40,x=0,y=100,fill="#CDA4DE",stroke="none") | repeat(12,rotate(30))
oo=circle(r=105,fill="#4C2882",stroke="none")
ooo=circle(r=75,fill="#ffffff",stroke="none")

#LANDSCAPE OUTSIDE PATTERN (COMBINATION OF CIRCLES)
g1=circle(r=22,x=80,y=22,fill="#4C2882",stroke="none")
g2=circle(r=20,x=80,y=20,fill="#8C59D9",stroke="none")
g3=circle(r=18,x=80,y=18,fill="#A77AEC",stroke="none")
g4=circle(r=16,x=80,y=16,fill="#CDA4DE",stroke="none")
g5=circle(r=14,x=80,y=14,fill="#FED4FF",stroke="none")
g6=circle(r=12,x=80,y=12,fill="#ffffFF",stroke="none")
shapecc=combine([g1,g2,g3,g4,g5,g6])
cc=shapecc | repeat(16,rotate(22.5))

q10=circle(r=85,fill="none",stroke="#ffffff",stroke_width=30)
q11=circle(r=75,fill="none",stroke="#FED4FF",stroke_width=3)
q12=circle(r=78,fill="none",stroke="#CDA4DE",stroke_width=3)
q13=circle(r=80,fill="none",stroke="#4C2882",stroke_width=3)

s1 = ellipse(w=175 , h=175 , fill="none" ,opacity="100%" , stroke="#ffffff" , stroke_width=35)

#SKY CIRCLES
c1 = ellipse(w=145 , h=141 , fill="#91E0F9" , stroke="none")
c2 = ellipse(w=115 , h=115 , fill="#B6E8F7" , stroke="none")
c3 = ellipse(w=91 , h=91 , fill="#CCEEFC" , stroke="none")
c4 = ellipse(w=44 , h=43 , fill="#E6F8FF" , stroke="none")
c5 = ellipse(w=33 , h=33 , fill="#fbe573" , stroke="none",opacity="%50")
c6 = ellipse(w=26 , h=26 , fill="yellow" , stroke="none")

#L A N D S C A P E

#LAND SCAPE RECTANGLES
r1 = rectangle(x=0, y=0 , w=145 , h=5 , fill="#1B2B00" , stroke="none")
r2 = rectangle(x=0, y=-4 , w=145 , h=5 ,fill="#3F5700" , stroke="none")
r3 = rectangle(x=0, y=-8 , w=145 , h=5 ,fill="#58780B" , stroke="none")
r4 = rectangle(x=0, y=-12 , w=145 , h=5 ,fill="#7A9011" , stroke="none")
r5 = rectangle(x=0, y=-16 , w=145 , h=5 ,fill="#B5CC17" , stroke="none")
r6 = rectangle(x=0, y=-45 , w=145 , h=53 ,opacity="70%" ,fill="#D3F0F9" , stroke="none")

#WATER RECTANGLES
r7 = rectangle(x=-50, y=-45 , w=27 , h=1 ,fill="#78B3C9" , stroke="none")
r8 = rectangle(x=20, y=-55 , w=23 , h=1 ,fill="#78B3C9" , stroke="none")
r9 = rectangle(x=-45, y=-30 , w=23 , h=1 ,fill="#78B3C9" , stroke="none")
r10 = rectangle(x=-20, y=-37 , w=23 , h=1 ,fill="#78B3C9" , stroke="none")

#CLOUD 1
cl1 = ellipse(x=29 , y=31  ,w=10 , h=10 , fill="#FFFFFF" , stroke="none")
cl2 = ellipse(x=40 , y=35  ,w=15 , h=15 , fill="#FFFFFF" , stroke="none")
cl3 = ellipse(x=50 , y=31  ,w=10 , h=10 , fill="#FFFFFF" , stroke="none")
cl4 = rectangle(x=40, y=28 , w=21 , h=5 , fill="#FFFFFF" , stroke="none")

#CLOUD 2
cl5 = ellipse(x=-29 , y=41  ,w=10 , h=10 , fill="#FFFFFF" , stroke="none")
cl6 = ellipse(x=-40 , y=45  ,w=15 , h=15 , fill="#FFFFFF" , stroke="none")
cl7 = ellipse(x=-50 , y=41  ,w=10 , h=10 , fill="#FFFFFF" , stroke="none")
cl8 = rectangle(x=-40, y=38 , w=21 , h=5 , fill="#FFFFFF" , stroke="none")

#MOUNTAIN 1
p1 = point(x=-72, y=2)
p2 = point(x=-10, y=2)
p3 = point(x=-45, y=21)
M1 = polygon([p1, p2, p3],fill="#2E7A9E",stroke="none")

p4 = point(x=-29, y=2)
p5 = point(x=-10, y=2)
p6 = point(x=-45, y=21)
M2 = polygon([p4, p5, p6],fill="#7CBCDB",stroke="none")

#MOUNTAIN 2
p7 = point(x=-45, y=2)
p8 = point(x=15, y=2)
p9 = point(x=-10, y=15)
M3 = polygon([p7, p8, p9],fill="#2E7A9E",stroke="none")

p10 = point(x=0, y=2)
p11 = point(x=15, y=2)
p12 = point(x=-10, y=15)
M4 = polygon([p10, p11, p12],fill="#7CBCDB",stroke="none")

#MOUNTAIN 3
p13 = point(x=-5, y=2)
p14 = point(x=70, y=2)
p15 = point(x=40, y=20)
M5 = polygon([p13, p14, p15],fill="#2E7A9E",stroke="none")

p16 = point(x=55, y=2)
p17 = point(x=70, y=2)
p18 = point(x=40, y=20)
M6 = polygon([p16, p17, p18],fill="#7CBCDB",stroke="none")

#THONI
p19 = point(x=-20, y=20)
p20 = point(x=0, y=-50)
p21 = point(x=20, y=-50)
T1 = polygon([p19, p20, p21],fill="#241010",stroke="none")

p22 = point(x=-20, y=20)
p23 = point(x=-20, y=25)
p24 = point(x=-3, y=20)
TT = polygon([p22, p23, p24],fill="red",stroke="none")

p25 = point(x=-20, y=20)
p26 = point(x=-17, y=-15)
p27 = point(x=-5, y=-10)
TTT = polygon([p25, p26, p27],fill="#241010",stroke="none")

T2 = rectangle(x=35, y=-43 , w=70 , h=15 , fill="#241010" , stroke="none")
T3 = rectangle(x=35, y=-50 , w=70 , h=3 , fill="#4D0E0E" , stroke="none")
T4 = rectangle(x=35, y=-48 , w=70 , h=3 , fill="#935031" , stroke="none")

show(
rec,
v3,v2,v1,v,
q9,q8,q7,q4,q3,q2,q1,q,
oo,ooo,
c1,c2,c3,c4,c5,c6,
r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,
cl1,cl2,cl3,cl4,cl5,cl6,cl7,cl8,
M1,M2,M3,M4,M5,M6,
T1,TT,TTT,T2,T3,T4,cc,
q10,q11,q12,q13,
x,x1,x2,x3,x4,x5,x6,x7
)