Code
#center_circle
c=circle(r=20,fill="#FF0000",stroke="none")
c0=circle(r=10,fill="#FFFFFF",stroke="none")
c1=c+c0|scale(0.2)
e1= ellipse(w=10,h=100,fill="#cc2b5e",stroke="#3a1c71")|repeat(30, rotate(20))|scale(0.5)
e2=ellipse(w=10,h=100,fill="#dc2430",stroke="#cc2b5e")|repeat(30, rotate(-20))|scale(0.5)
c3=circle(r=50,fill="#ffafbd",stroke="#cc2b5e")|scale(0.5)
c4=circle(r=60,fill="#ee9ca7",stroke="#ffafbd")|scale(0.5)
c5=circle(r=70,fill="#dd5e89",stroke="#ee9ca7")|scale(0.5)
#create an function for tinkerHub logo
r1=rectangle(w=105,h=50,fill="#2CC0CF",stroke="none",x=-45,y=70)
r2=rectangle(w=50,h=50,fill="#2078F9",stroke="none",x=50,y=70)
layer1=r1+r2|scale(0.008)
layer2=rectangle(w=175,h=50,fill="#FECD3D",stroke="none",x=-12,y=0)|scale(0.008)
r1=rectangle(w=70,h=50,fill="#EE3C35",stroke="none",x=-65,y=-70)
r2=rectangle(w=42,h=50,fill="#91BF23",stroke="none",x=0,y=-70)
r3=rectangle(w=42,h=50,fill="#045768",stroke="none",x=52,y=-70)
layer3=r1+r2+r3|scale(0.008)
#square
p1=point(x=-10,y=97)
p2=point(x=97,y=10)
p3=point(x=10,y=-97)
p4=point(x=-97,y=-10)
s1=polygon([p1,p2,p3,p4],fill="#aa076b",stroke="none")|scale(0.5)
#triangle_group
p1=point(x=0,y=50)
p2=point(x=50,y=0)
p3=point(x=-50,y=0)
triangle1=polygon([p1,p2,p3],fill="#61045f",stroke="none")|translate(x=-50,y=0)
triangle2=polygon([p1,p2,p3],fill="#61045f",stroke="none")|translate(x=-50,y=0)|rotate(90)|translate(x=-50,y=50)
triangle_group=(triangle1+triangle2)|translate(x=-20)|rotate(-30)|scale(0.5)
#middle_circle
c6=circle(r=100,fill="#ee9ca7",stroke="#ff758c")|scale(0.5)
c7=circle(r=110,fill="#ff758c",stroke="#ff758c")|scale(0.5)
c8=circle(r=120,fill="#ed4264",stroke="#ed4264")|scale(0.5)
#rectangle
ra=rectangle(w=100,h=100,fill="#ffc0cb",stroke="#ffedbc")|repeat(30,rotate(25))
rb=rectangle(w=110,h=110,fill="#ffb6c1",stroke="#ffd89b")|repeat(30,rotate(25))
rc=rectangle(w=120,h=120,fill="#db7093",stroke="#ffc371")|repeat(30,rotate(25))
#sub_circle
sc1 = circle(r=55,y=57,fill="#800000",stroke="#ffe4e7")
sc2 = circle(r=45,y=57,fill="#61045f",stroke="#61045f")
sc3 = circle(r=35,y=57,fill="#f4e2d8",stroke="#f4e2d8")
subCircle = sc1+sc2+sc3
subCircle2 = subCircle | translate(y=-114)
Combine = subCircle+subCircle2
Combine2 = Combine | rotate(90)
ad = Combine+Combine2|scale(1)
ad2 = ad |rotate(45)|scale(1)
#outer_square
sq1=rectangle(w=100,h=100,x=140,y=140,fill="#8b4513",stroke="#32cd32")|repeat(30,rotate(25))|scale(0.5)
sq2=rectangle(w=115,h=115,x=-140,y=140,fill="#b8860b",stroke="#ffff00")|repeat(30,rotate(25))|scale(0.5)
sq3=rectangle(w=120,h=120,x=140,y=140,fill="#ee9ca7",stroke="#9acd32")|repeat(30,rotate(25))|scale(0.5)
#outer_circle
final= circle(r=145,fill="#006400",stroke="#006400",stroke_width=10)
show(final,sq3,sq2,sq1,ad2,ad,rc,rb,ra,c8,c7,c6,s1,triangle_group|repeat(4,rotate(90)),c5,c4,c3,e2,e1,c1,layer3,layer2,layer1,)