Code
outcircle= circle(r=150, fill="#000000", stroke="none")
brown = rectangle(w=210,h=210, fill="#660001", stroke="none") | repeat(10, rotate(10))
orange = rectangle(w=193,h=193, fill="#df6802", stroke="none") | repeat(10, rotate(10)) | rotate(15)
yellow = rectangle(w=179,h=179, fill="#f2a407", stroke="none") | repeat(10, rotate(10))
liteyellow= rectangle(w=165,h=165, fill="#f8eb6c", stroke="none") | repeat(10, rotate(10)) | rotate(15)
whityellow = rectangle(w=151,h=151, fill="#fdf8d3", stroke="none") | repeat(10, rotate(10))
outcircless=combine([outcircle,brown,orange,yellow,liteyellow,whityellow])
show(outcircless)
circle1= circle(r=98, fill="#050201", stroke="none")
insidewhttri1= rectangle(w=97,h=162, fill="#f2e7cc", stroke="none") |repeat(2, rotate(90))
insidewhttri2= rectangle(w=133,h=133, fill="#f2e7cc", stroke="none")
insidemeroon1= rectangle(w=97,h=162, fill="#660001", stroke="none") |repeat(2, rotate(90)) |rotate(45)
insidemeroon2= rectangle(w=133,h=133, fill="#660001", stroke="none") |rotate(45)
greenins0= rectangle(w=67,h=162, fill="#466207", stroke="none") | repeat(4, rotate(45))
circleyellw1= circle(r=79, fill="#f6e36e", stroke="none")
insidewhttri11= rectangle(w=26,h=162, fill="#f2e7cc", stroke="none") |repeat(2, rotate(90))
insidemeroon11= rectangle(w=26,h=162, fill="#660001", stroke="none") |repeat(2, rotate(90)) |rotate(45)
insidewhttri111= rectangle(w=97,h=133, fill="#f2e7cc", stroke="none") |repeat(2, rotate(90))
insidemeroon111= rectangle(w=97,h=133, fill="#660001", stroke="none") |repeat(2, rotate(90)) |rotate(45)
greenins1= rectangle(w=55,h=133, fill="#466207", stroke="none") | repeat(4, rotate(45))
circleyellw2= circle(r=63, fill="#f6e36e", stroke="none")
circlegreenkatha= circle(r=63, fill="#4f8109", stroke="#f6e36e",stroke_width=2)
incircless=combine([circle1,insidewhttri1,insidewhttri2,insidemeroon1,insidemeroon2,greenins0,circleyellw1,insidewhttri11,insidemeroon11,insidewhttri111,insidemeroon111,greenins1,circleyellw2,circlegreenkatha])
show(incircless)
#kathakalidesign
circlered= circle(r=42,y=20, fill="#ca0001", stroke="none")
circleyellow= circle(r=35,y=20, fill="#ffde17", stroke="#6aa31c",stroke_width=1)
circleblue= circle(r=32,y=20, fill="#2e3192", stroke="#6aa31c",stroke_width=1)
circleyellow= circle(r=25,y=20, fill="#ffde17", stroke="#6aa31c",stroke_width=1)
kathakalidesign=combine([circlered,circleyellow,circleblue,circleyellow])
show(kathakalidesign)
#keridam dot white in red
keridot=circle(x=39,r=1.8, fill="white", stroke="none") | repeat(10, rotate(20))
k1=keridot| translate(y=20)
show(k1)
#keridam dot white in blue
keridotwhite=circle(x=29,r=1.5, fill="white", stroke="none") | repeat(8, rotate(29))
k2=keridotwhite| translate(y=20)
show(k2)
#topp
top4= ellipse(w=47,h=35,y=13, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
top3= ellipse(w=33,h=28,y=30, fill="#ca0001", stroke="#6aa31c",stroke_width=1)
top2= ellipse(w=20,h=15,y=43, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
#top1= ellipse(w=12,h=15,y=50, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
#show(top1)
tpcombine=combine([top4,top3,top2])
show(tpcombine)
#face
white= ellipse(w=80,h=46,y=-30, fill="#ffffff", stroke="black",stroke_width=1)
show(white)
f1= ellipse(w=46,h=70,y=-10, fill="#6aa31c", stroke="none")
show(f1)
#f2 face sizerr
f2= ellipse(w=46,h=46,y=-21, fill="#6aa31c", stroke="none")
reddd= ellipse(w=38,h=26,y=19, fill="#cf4200", stroke="none")
top3x= ellipse(w=32,h=2,y=26, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
top3xc= ellipse(w=32,h=3,y=27, fill="#ca0001", stroke="none")
top3xc1= ellipse(w=30,h=7,y=29, fill="#ca0001", stroke="none")
f2facesize=combine([f2,reddd,top3x,top3xc,top3xc1])
show(f2facesize)
#keridan green 2
top2x= ellipse(w=17,h=8,y=40, fill="#cf4200",stroke="none")
show(top2x)
top2greenboder= ellipse(w=26,h=3,y=37, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
show(top2greenboder)
top2x= ellipse(w=25,h=3,y=37.8, fill="#cf4200",stroke="none")
show(top2x)
top2xx= ellipse(w=22,h=3,y=39, fill="#cf4200",stroke="none")
show(top2xx)
#top design redisgn
top1= ellipse(w=13,h=11,y=50, fill="#ca0001", stroke="#6aa31c",stroke_width=1)
show(top1)
top0= ellipse(w=7,h=10,y=55, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
show(top0)
top00= ellipse(w=5,h=13,y=59, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
show(top00)
top00correction= ellipse(w=5.5,h=10,y=56, fill="#cf4200", stroke="none")
show(top00correction)
#face white ribbon
greenribbon= line(x1=-11,y1=18,x2=11,y2=18,stroke="#6aa31c",stroke_width=6)
whiteribbon= line(x1=-11,y1=18,x2=11,y2=18,stroke="white",stroke_width=4)
greenribbonleft= line(x1=-21,y1=19,x2=-8,y2=19,stroke="#6aa31c",stroke_width=6)|rotate(6)
whiteribbonleft= line(x1=-21,y1=19,x2=-7.5,y2=19,stroke="white",stroke_width=4)|rotate(6)
greenribbonright= line(x1=21,y1=19,x2=8,y2=19,stroke="#6aa31c",stroke_width=6)|rotate(-6)
whiteribbonright= line(x1=21,y1=19,x2=7.5,y2=19,stroke="white",stroke_width=4)|rotate(-6)
facewhiteribbon=combine([greenribbon,whiteribbon,greenribbonleft,whiteribbonleft,greenribbonright,whiteribbonright])
show(facewhiteribbon)
#circle
icr1= circle(r=11,x=-32,y=2, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
show(icr1)
icr2= circle(r=11,x=32,y=2, fill="#cf4200", stroke="#6aa31c",stroke_width=1)
show(icr2)
#insideleftred
icb1= circle(r=7,x=-32,y=2, fill="#2e3192", stroke="none")
show(icb1)
icw1= circle(r=4,x=-32,y=2, fill="#cf4200", stroke="white",Stroke_width=1)
show(icw1)
#insiderightred
icb1= circle(r=7,x=32,y=2, fill="#2e3192", stroke="none")
show(icb1)
icw1= circle(r=4,x=32,y=2, fill="#cf4200", stroke="white",Stroke_width=1)
show(icw1)
#yellowring
icy1= circle(r=14,x=-35,y=-15, fill="#ffde17", stroke="#6aa31c",stroke_width=1)
show(icy1)
icy2= circle(r=14,x=35,y=-15, fill="#ffde17", stroke="#6aa31c",stroke_width=1)
show(icy2)
#insideleftyelow
icw1= circle(r=8,x=-35,y=-15, fill="white", stroke="none")
show(icw1)
icr1= circle(r=7,x=-35,y=-15, fill="red", stroke="none")
show(icr1)
icy1= circle(r=4,x=-35,y=-15, fill="#ffde17", stroke="none")
show(icy1)
#dottleft
reddot=circle(x=10,r=1.8, fill="red", stroke="none") | repeat(7, rotate(50))
r1=reddot| translate(x=-35,y=-15)
show(r1)
#dottright
reddotr=circle(x=10,r=1.8, fill="red", stroke="none") | repeat(7, rotate(50))
r2=reddotr| translate(x=35,y=-15)
show(r2)
#insiderightyelow
icw1= circle(r=8,x=35,y=-15, fill="white", stroke="none")
show(icw1)
icr1= circle(r=7,x=35,y=-15, fill="red", stroke="none")
show(icr1)
icy1= circle(r=4,x=35,y=-15, fill="#ffde17", stroke="none")
show(icy1)
#eye
#eyebrowleft
eyb1=line(x1=-20,y1=-2,x2=-3,y2=-2,stroke="black",stroke_width=2)|rotate(-6)
eyb11=line(x1=-20,y1=-2,x2=-6,y2=-2,stroke="black",stroke_width=2)|rotate(-5)
eyb111=line(x1=-20,y1=2,x2=-15,y2=2,stroke="black",stroke_width=2.5)|rotate(10)
eyebrowleft=combine([eyb1,eyb11,eyb111])
show(eyebrowleft)
#eyebrowright
eyb2=line(x1=20,y1=-2,x2=3,y2=-2,stroke="black",stroke_width=2)|rotate(6)
eyb22=line(x1=20,y1=-2,x2=6,y2=-2,stroke="black",stroke_width=2)|rotate(5)
eyb222=line(x1=20,y1=2,x2=15,y2=2,stroke="black",stroke_width=2.5)|rotate(-10)
eyebrowright=combine([eyb2,eyb22,eyb222])
show(eyebrowright)
#eye
eyblack1= ellipse(w=20,h=7,x=11,y=-8, fill="black", stroke="none") |rotate(5)
ey1= ellipse(w=15,h=5,x=10,y=-7, fill="#ffffff", stroke="none")| rotate(5)
eyblack2= ellipse(w=20,h=7,x=-11,y=-8, fill="black", stroke="none") |rotate(-5)
ey2= ellipse(w=15,h=5,x=-10,y=-7, fill="#ffffff", stroke="none")| rotate(-5)
eye=combine([eyblack1,ey1,eyblack2,ey2])
show(eye)
#eyecentr
eyc1brown= ellipse(w=6,h=4.5,x=11,y=-6.3, fill="#8a5e3c", stroke="none")
eyc1= circle(r=1.6,x=11,y=-6.3, fill="black", stroke="none")
eyc2brown= ellipse(w=6,h=4.5,x=-11,y=-6.3, fill="#8a5e3c", stroke="none")
eyc2= circle(r=1.6,x=-11,y=-6.3, fill="black", stroke="none")
eyecentr=combine([eyc1brown,eyc1,eyc2brown,eyc2])
show(eyecentr)
#nose
n1= ellipse(w=7,h=8,x=-7,y=-23.5, fill="#6aa31c", stroke="black",stroke_width=0.5)
n2c= ellipse(w=7,h=8,y=-25, fill="#6aa31c", stroke="black",stroke_width=0.5)
n3= ellipse(w=7,h=8,x=7,y=-23.5, fill="#6aa31c", stroke="black",stroke_width=0.5)
###ncentr
n2cg= ellipse(w=9,h=6,y=-24, fill="#6aa31c", stroke="none")
n2cg1= ellipse(w=9,h=6,y=-22, fill="#6aa31c", stroke="none")
nosencentecomb=combine([n1,n2c,n3,n2cg,n2cg1])
show(nosencentecomb)
#mouth
#ellipse
melip1= ellipse(w=9,h=4,x=-1,y=-36, fill="red", stroke="none")|rotate(7)
show(melip1)
melip2= ellipse(w=9,h=4,x=1,y=-36, fill="red", stroke="none")|rotate(-7)
show(melip2)
###mouthline
line1=line(x1=-10,y1=-34,x2=-3,y2=-37,stroke="red",stroke_width=2)
line2blackshade=line(x1=-3,y1=-38,x2=3,y2=-38,stroke="black")
line2=line(x1=-3,y1=-37,x2=3,y2=-37,stroke="red",stroke_width=2)
line3=line(x1=10,y1=-34,x2=3,y2=-37,stroke="red",stroke_width=2)
ml1= ellipse(w=6,h=4,x=-8,y=-35, fill="red", stroke="none")|rotate(-5)
mr1= ellipse(w=6,h=4,x=8,y=-35, fill="red", stroke="none")|rotate(5)
mouthline=combine([line1,line2blackshade,line2,line3,ml1,mr1])
show(mouthline)
#blacklipline
lipline1=line(x1=-4,y1=-36,x2=4,y2=-36,stroke="black",stroke_width=0.3)
lipline1lef=line(x1=-7,y1=-35,x2=-0.8,y2=-36,stroke="black",stroke_width=0.3)|rotate(-5)
lipline1right=line(x1=7,y1=-35,x2=0.8,y2=-36,stroke="black",stroke_width=0.3)|rotate(5)
lipp=combine([lipline1,lipline1lef,lipline1right])
show(lipp)
#forehead
f1= ellipse(w=26,h=10,x=-12,y=5.5, fill="#6aa31c", stroke="none")|rotate(-10)
f2= ellipse(w=26,h=10,x=12,y=5.5, fill="#6aa31c", stroke="none")|rotate(10)
forehead=combine([f1,f2])
show(forehead)
#line
fline1=line(x1=-13,y1=3,x2=0,y2=3,stroke="#fff200",stroke_width=6)|rotate(-15)
show(fline1)
fline2=line(x1=13,y1=3,x2=0,y2=3,stroke="#fff200",stroke_width=6)|rotate(15)
show(fline2)
#sybol
symbred=line(x1=-5,y1=2,x2=5,y2=2,stroke="#c90201",stroke_width=1)
show(symbred)
symbblack=ellipse(w=2,h=3,y=4.5,fill="black",stroke="none")
show(symbblack)
#center forehead dot
centerdot=circle(y=11,r=1.5, fill="white", stroke="none")
show(centerdot)
centrelipse=ellipse(w=2,h=5,y=12, fill="white", stroke="none")
show(centrelipse)
#keri flower design
#flwr1
flwrwht=circle(y=30,r=2.7, fill="white", stroke="none")
flwr1=ellipse(w=1.5,h=6, fill="gold", stroke="none")|repeat(4, rotate(45)) |translate(y=30)
flc=combine([flwrwht,flwr1])
show(flc)
flc1=flc | translate(x=-10.5,y=1)
show(flc1)
flc2=flc | translate(x=10.5,y=1)
show(flc2)
#flwr2
flwrwht2=circle(x=4.4,y=40,r=2.5, fill="white", stroke="none")
flwr2=ellipse(w=1.5,h=5, fill="gold", stroke="none")|repeat(4, rotate(45)) |translate(x=4.4,y=40)
flcwr2=combine([flwrwht2,flwr2])
show(flcwr2)
flcwr22=flcwr2 |translate(x=-9)
show(flcwr22)
#flwr3
flwrwht3=circle(y=48,r=2, fill="white", stroke="none")
flwr3=ellipse(w=1,h=3.5, fill="gold", stroke="none")|repeat(4, rotate(45)) |translate(y=48)
flcwr2=combine([flwrwht3,flwr3])
show(flcwr2)