Code
#circles
c = circle(r=147, fill="white", stroke_width=3, stroke="black")
c1 = circle(r=142, stroke_width=4, stroke="black", fill="#032100")
c2 = circle(r=80, stroke_width=3, stroke = "#d10069", fill="white")
c3 = circle(r=73, stroke = "none", fill="#0d5706")
c4 = circle(r=50, stroke = "none", fill="#a80311")
show(c,c1)
dot1 = circle(x=45, y=126, r=7, fill="#fffced", stroke="none")|repeat(8, rotate(45))
dot2 = circle(x=45, y=126, r=4, fill="#22a1f5", stroke="none") |repeat(8, rotate(45))
mini1 = ellipse(x=38, y=106, w=10, h=23, fill="white", stroke="none") | rotate(43) | repeat(8,rotate(45))
mini2 = ellipse(x=38, y=106, w=5, h=15, fill="#d10069", stroke="none") | rotate(43) | repeat(8,rotate(45))
#outer ellipse
s1 = ellipse(w=280, h=150, fill="#a80311", stroke="none") | rotate(-45) | repeat(8,rotate(45))
s2 = ellipse(w=260, h=150, fill="#e07400", stroke="none") | rotate(-45) | repeat(8,rotate(45))
s3 = ellipse(w=240, h=150, fill="#ffbd08", stroke="none") | rotate(-45) | repeat(8,rotate(45))
s4 = ellipse(w=220, h=150, fill="#fff8ab", stroke="none") | rotate(-45) | repeat(8,rotate(45))
show(s1, s2, s3, s4)
#inner floral pattern
shape1 = circle(x=50, y=16, r=50, fill="#22a1f5", stroke="none") | repeat(6, rotate(60))
shape2 = circle(x=50, y=-10, r=50, fill="#ffcfe8", stroke="none") | repeat(6, rotate(60))
outline = circle(x=80, y=0, r=8, fill="#d10069", stroke="none") | repeat(36, rotate(10))
innerOutline = circle(x=80, y=0, r=5, fill="#00D168", stroke="none") | repeat(36, rotate(10))
show(shape1, shape2, outline, innerOutline)
show(c2, c3)
shape3 = rectangle(w=103, h=103, stroke="none", fill="#55c2ed") | repeat(5, rotate(30)) | rotate(15)
shape4 = rectangle(w=95, h=95, stroke="none", fill="white") | repeat(5, rotate(30)) | rotate(15)
shape5 = rectangle(w=86, h=86, stroke="none", fill="#2ba0cf") | repeat(5, rotate(30)) | rotate(15)
show(shape3, shape4, shape5)
show(c4)
#mahabali
face = circle(r=35, y=-8, stroke = "none", fill="#ffefe3")
hairLine = circle(r=32, y=3, stroke = "none", fill="black")
ball1 = circle(r=20, y=-2, x=20, stroke = "none", fill="black")
ball2 = ball1 | translate(x=-40, y=0)
#ears
ear1 = ellipse(w=40, h=30, y=-6, x=22, stroke = "none", fill="#ffefe3")
ear2 = ear1 | translate(x=-42, y=-2)
#earring
e1 = circle(r=5, y=-13, x=38, stroke="gold", stroke_width=2, fill="yellow")
e2 = e1 | translate(x=-76, y=-1)
#crown
crown=ellipse(w=70, h=100, fill="gold", stroke="#ffa91f", stroke_width=2, x=0, y=8)
gem = ellipse(w=8, h=20, fill="red", y=52, stroke="#ffa91f", stroke_width=2)
ring = ellipse(w=90, h=65, x=0, y=20, fill="gold", stroke="#ffa91f", stroke_width=2) + ellipse(w=80, h=55, x=0, y=20, fill="#a80311", stroke="#ffa91f", stroke_width=2)
show(ring, crown, gem)
show(ball1, ball2)
show(ear1, ear2, e1, e2)
show(hairLine,face)
#mouth
mouth = ellipse(w=18, h=14, fill="red", y=-28, stroke="black")
show(mouth)
#moustache
m1 = ellipse(w=50, h=10, x=23, y=-20, fill="black")| rotate(-15)
m2 = ellipse(w=50, h=10, x=-23, y=-20, fill="black")| rotate(15)
show(m1, m2)
#bindi
bindi1 = circle(r=5, fill="red", y=12, stroke="none")
bindi2 = ellipse(h=8, w=5, fill="#ffefe3", y=14, stroke="none")
show(bindi1, bindi2)
#eye
eye1 = ellipse(w=15, h=8, x=14, y=-8, fill="white") + circle(r=4, x=14, y=-8, fill="black")
eye2 = ellipse(w=15, h=8, x=-14, y=-8, fill="white") + circle(r=4, x=-14, y=-8, fill="black")
show(eye1,eye2)
#eyebrow
eyebrow1 = ellipse(w=15, h=6, fill="black", y=7, x=14, stroke="none") | rotate(-10)
brow1 = ellipse(w=15, h=6, fill="#ffefe3", y=4, x=14, stroke="none") | rotate(-10)
eyebrow2 = ellipse(w=15, h=6, fill="black", y=7, x=-14, stroke="none") | rotate(10)
brow2 = ellipse(w=15, h=6, fill="#ffefe3", y=4, x=-14, stroke="none") | rotate(10)
show(eyebrow1, brow1, eyebrow2, brow2)
show(dot1, dot2, mini1, mini2)