Code
c1 = rectangle(w=200, h=200, fill="red", stroke="none") | repeat(9, rotate(angle=10))
c2 = rectangle(w=190, h=190, fill="white", stroke="none") | repeat(9, rotate(angle=10))
c3 = rectangle(w=180, h=180, fill="blue", stroke="none") | repeat(9, rotate(angle=10))
c4 = rectangle(w=170, h=170, fill="white", stroke="none") | repeat(9, rotate(angle=10))
c5 = rectangle(w=160, h=160, fill="green", stroke="none") | repeat(9, rotate(angle=10))
c6 = rectangle(w=150, h=150, fill="white", stroke="none") | repeat(9, rotate(angle=10))
c7 = rectangle(w=140, h=140, fill="gold", stroke="none") | repeat(9, rotate(angle=10))
c8 = rectangle(w=130, h=130, fill="white", stroke="none") | repeat(9, rotate(angle=10))
c9 = rectangle(w=120, h=120, fill="black", stroke="none") | repeat(9, rotate(angle=10))
c10 = rectangle(w=110, h=110, fill="white", stroke="none") | repeat(9, rotate(angle=10))
c11 = rectangle(w=100, h=100, fill="#e642f5", stroke="none") | repeat(9, rotate(angle=10))
c12 = rectangle(w=90, h=90, fill="white", stroke="none") | repeat(9, rotate(angle=10))
c13 = rectangle(w=80, h=80, fill="#4d97ff", stroke="none") | repeat(9, rotate(angle=10))
c14 = rectangle(w=70, h=70, fill="white", stroke="none") | repeat(9, rotate(angle=10))
show(c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14)
s= circle(r=145,fill='red')
show(s)
s1 = circle(r=135,fill='red',stroke='yellow',stroke_width=10)
show(s1)
s2 = circle(r=130,fill='orange',stroke='red',stroke_width=6)
show(s2)
s3 = circle(r=125,fill='red',stroke='red',stroke_width=6)
show(s3)
shape1=rectangle(w=200,h=150,fill='#fc9802',stroke='#a60202',stroke_width=3)
shape2=shape1|repeat(16,rotate(20))
show(shape2)
def dot(x, y):
c = circle(x=x, y=y, r=5, fill="white",stroke='white')
return c
d1 = dot(x=110, y=0)
d = d1|repeat(10,rotate(40))
show(d)
def dot(x, y):
c = circle(x=x, y=y, r=5, fill="white",stroke='white')
return c
t1 = dot(x=195, y=0)
t = t1|repeat(10,rotate(40))
show(t)
c4=circle(r=80,fill="orange",stroke="none")
c3=circle(r=70,fill="#EDA63D",stroke="none")
c2=circle(r=65,fill="#f2b707",stroke="none")
c1=circle(r=60,fill="#fac528",stroke="none")
show(c4,c3,c2,c1)
c1 =ellipse(w=200,h=40,fill="#a60202",stroke="none")|repeat(8,rotate(50))
c2 =ellipse(w=200,h=40,fill="#a60202",stroke="none")|repeat(9,rotate(40))
c3 =ellipse(w=200,h=40,fill="#a60202",stroke="none")|repeat(100,rotate(10))
show(c3,c2,c1)
c1 =ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(8,rotate(50))
c2 =ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(9,rotate(40))
c3 =ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(100,rotate(10))
show(c3,c2,c1)
c1 =ellipse(w=180,h=20,fill="#a60202",stroke="none")|repeat(8,rotate(50))
c2 =ellipse(w=180,h=20,fill="#a60202",stroke="none")|repeat(9,rotate(40))
c3 =ellipse(w=180,h=20,fill="#a60202",stroke="none")|repeat(100,rotate(10))
show(c3,c2,c1)
c1 =ellipse(w=170,h=10,fill="#fc9802",stroke="none")|repeat(8,rotate(50))
c2 =ellipse(w=170,h=10,fill="#fc9802",stroke="none")|repeat(9,rotate(40))
c3 =ellipse(w=170,h=10,fill="#fc9802",stroke="none")|repeat(100,rotate(10))
show(c3,c2,c1)
k1=ellipse(x=-7,y=40,h=35,w=80,fill="#732304",stroke="none")| rotate(25)
k2=ellipse(x=-7,y=40,h=32,w=80,fill="#BE6A26",stroke="none")| rotate(25)
k3=ellipse(x=-7,y=40,h=25,w=80,fill="#732304",stroke="none")| rotate(25)
k4=ellipse(x=-7,y=40,h=22,w=80,fill="#663402",stroke="none")| rotate(25)
k5=ellipse(x=-7,y=40,h=15,w=80,fill="#732304",stroke="none")| rotate(25)
k6=ellipse(x=-7,y=40,h=12,w=80,fill="#311400",stroke="none")| rotate(25)
k=k1+k2+k3+k4+k5+k6
show(k)
l1=line(x1=-30,y1=30,x2=0,y2=-20,stroke_width=3,stroke="#311400")
l2=line(x1=-26,y1=27,x2=0,y2=-20,stroke_width=3,stroke="#663402")
show(l1,l2)
c1=circle(x=10,y=15,r=25,fill="#EAB431",stroke="#DF9739")
c2=circle(x=10,y=14,r=20,fill="#E49F0A",stroke="none")
c3=circle(x=10,y=10,r=15,fill="#DD890F",stroke="none")
show(c1,c2,c3)
p1=ellipse(w=30,h=15,x=10,y=10,fill="#FBDE47",stroke="none")
p2=ellipse(w=20,h=15,x=10,y=20,fill="#FBDE47",stroke="none")
p3=ellipse(w=10,h=10,x=10,y=30,fill="#FBDE47",stroke="none")
p4=ellipse(w=25,h=15,x=12,y=10,fill="#f2be00",stroke="none")
p5=ellipse(w=15,h=15,x=12,y=20,fill="#f2be00",stroke="none")
p6=ellipse(w=5,h=10,x=12,y=30,fill="#f2be00",stroke="none")
p=p1+p2+p3+p6+p5+p4
show(p)
e1=ellipse(w=50,h=35,x=10,y=-40,fill="#EEAC82",stroke="#b06b04")
e2=ellipse(w=33,h=25,x=10,y=-20,fill="#EEAC82",stroke="#b06b04")
e3=ellipse(w=20,h=20,x=10,y=0,fill="#EEAC82",stroke="#b06b04")
e4=ellipse(w=23,h=25,x=14,y=-22,fill="#eda06f",stroke="none")
e5=ellipse(w=40,h=35,x=14,y=-40,fill="#eda06f",stroke="none")
show(e1,e5,e2,e4,e3)
s1=rectangle(w=50,h=20,x=10,y=-60,fill="#d68202",stroke="#ffd391")
s2=rectangle(w=40,h=20,x=5,y=-60,fill="#d68202",stroke="#ffd391")
show(s1,s2)
print("***TINKER ONAM***")