Code
chec=circle(x=32,y=0,r=8,fill="#FF00BF",stroke_width=0)|repeat(150,rotate(-1))
chec2=circle(x=18,y=0,r=6,fill="#008000",stroke_width=0)|repeat(150,rotate(-1))
cir0=circle(x=99,y=48.89,r=40,stroke_width=1,fill="none")
c=chec+cir0+chec2|translate(x=99,y=48.89 )
for i in range(1,15):
if i % 2 == 0:
clr1=" #FFFF00"
clr2="#FF0000"
x=(i*25.69)
else:
clr1="#FF00BF"
clr2="#008000"
x=(i*25.69)
cir1=circle(r=40,stroke_width=0,fill=clr1)
cir2=circle(r=24,stroke_width=0,fill=clr2)
cir=cir1+cir2|translate(x=110) |repeat(2,rotate(x))
show(cir)
show(c)
rect1 = rectangle(w=163,h=163,fill="#FFF574",stroke_width=0) | repeat(10, rotate(10))
rect2 = rectangle(w=150,h=150,fill="#FFD70D",stroke_width=0) | rotate(5) | repeat(10, rotate(10))
rect3 = rectangle(w=136,h=136,fill="#FAC20B",stroke_width=0) | rotate(10) | repeat(10, rotate(10))
rect4= rectangle(w=123,h=123,fill="#FF9B22",stroke_width=0) | rotate(15) | repeat(10, rotate(10))
rect5= rectangle(w=111,h=111,fill="#FF8503",stroke_width=0) | rotate(20) | repeat(10, rotate(10))
rect6= rectangle(w=100,h=100,fill="#E64805",stroke_width=0) | rotate(25) | repeat(10, rotate(10))
rect7= rectangle(w=90,h=90,fill="#991C1C",stroke_width=0) | rotate(30) | repeat(10, rotate(10))
rect=rect1+rect2+rect3+rect4+rect5+rect6+rect7
def 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
layer2 = rectangle(w=175, h=50, fill='#FECD3D', stroke='none', x=-12, y=0)
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)
layer_three = r1 + r2 + r3
return combine([layer1, layer2, layer_three]) | scale(0.08) | translate(x=1)
inner_button = circle(r=13, fill='#ffffff', stroke_width=3) + tinkerhub_logo()
cor=circle(r=115,fill="gold",stroke_width=0)
show(cor,rect,inner_button )
el = ellipse(y=90,w=20,h=100,stroke_width=1,fill="#FFFF00")| repeat(100,rotate(161))|scale(0.4)
show(el)