θ_9=%v

θ_8=%v

θ_7=%v

θ_5=%v

θ_6=%v

θ_3=%v

θ_4=%v

θ_2=%v

θ_1=%v

sliderhspace = 0.2
P = (-3.262222222222216, 0.6496296296296281)
sliderlength = 1
slidervspace = 0.4
slider8 = Segment(P + (sliderlength + sliderhspace, -3 * slidervspace), P + (2 * sliderlength + sliderhspace, -3 * slidervspace))
H = Point(slider8)
slider6 = Segment(P + (sliderlength + sliderhspace, -2 * slidervspace), P + (2 * sliderlength + sliderhspace, -2 * slidervspace))
F = Point(slider6)
slider2 = Segment(P + (sliderlength + sliderhspace, 0), P + (2 * sliderlength + sliderhspace, 0))
B = Point(slider2)
slider9 = Segment(P + (0, -4 * slidervspace), P + (sliderlength, -4 * slidervspace))
I = Point(slider9)
slider5 = Segment(P + (0, -2 * slidervspace), P + (sliderlength, -2 * slidervspace))
E = Point(slider5)
slider7 = Segment(P + (0, -3 * slidervspace), P + (sliderlength, -3 * slidervspace))
G = Point(slider7)
slider4 = Segment(P + (sliderlength + sliderhspace, -slidervspace), P + (2 * sliderlength + sliderhspace, -slidervspace))
D = Point(slider4)
slider3 = Segment(P + (0, -slidervspace), P + (sliderlength, -slidervspace))
C = Point(slider3)
slider1 = Segment(P, P + (sliderlength, 0))
A = Point(slider1)
headradius = 0.4
bodywidth = 0.2
BUR: (bodywidth, 0)
BUL: (-bodywidth, 0)
NB: (BUL + BUR) / 2
nk: (x(I) - x(P)) * 2 * π / sliderlength - π
necklength = 0.2
rl2: (x(H) - x(P) - sliderlength - sliderhspace) * 2 * π / sliderlength - π
NT: NB + necklength * (sin(nk), cos(nk))
armlength2 = 0.3
armlength1 = 0.3
bodyheight = 1
BLR: (bodywidth, -bodyheight)
rl1: (x(G) - x(P)) * 2 * π / sliderlength - π
ll1: (x(E) - x(P)) * 2 * π / sliderlength - π
ll2: (x(F) - x(P) - sliderlength - sliderhspace) * 2 * π / sliderlength - π
RK: BLR + armlength1 * (cos(rl1), sin(rl1))
BLL: (-bodywidth, -bodyheight)
ra1: (x(C) - x(P)) * 2 * π / sliderlength - π
LK: BLL + armlength1 * (-cos(ll1), sin(ll1))
RE: BUR + armlength1 * (cos(ra1), sin(ra1))
ra2: (x(D) - x(P) - sliderlength - sliderhspace) * 2 * π / sliderlength - π
la2: (x(B) - x(P) - sliderlength - sliderhspace) * 2 * π / sliderlength - π
la1: (x(A) - x(P)) * 2 * π / sliderlength - π
LE: BUL + armlength1 * (-cos(la1), sin(la1))
HM: NT + headradius * (sin(nk), cos(nk))
c = Circle(HM, NT)
poly1, c_1, d, e, f = Polygon(BUL, BLL, BLR, BUR)
a = Segment(NB, NT)
b = Segment(BUR, RE)
RH: RE + armlength2 * (cos(ra1 + ra2), sin(ra1 + ra2))
g = Segment(RE, RH)
h = Segment(BUL, LE)
LH: LE + armlength1 * (-cos(la1 + la2), sin(la1 + la2))
i = Segment(LE, LH)
j = Segment(BLR, RK)
RF: RK + armlength2 * (cos(rl1 + rl2), sin(rl1 + rl2))
k = Segment(RK, RF)
l = Segment(BLL, LK)
LF: LK + armlength2 * (-cos(ll1 + ll2), sin(ll1 + ll2))
m = Segment(LK, LF)
text1: "$ \vec\theta =(" + (LaTeX[la1]) + "," + (LaTeX[la2]) + "," + (LaTeX[ra1]) + "," + (LaTeX[ra2]) + "," + (LaTeX[ll1]) + "," + (LaTeX[ll2]) + "," + (LaTeX[rl1]) + "," + (LaTeX[rl2]) + "," + (LaTeX[nk]) + ")$"
text2: "θ_1=" + la1 + ""
text3: "θ_2=" + la2 + ""
text4: "θ_3=" + ra1 + ""
text5: "θ_4=" + ra2 + ""
text6: "θ_5=" + ll1 + ""
text7: "θ_6=" + ll2 + ""
text8: "θ_7=" + rl1 + ""
text9: "θ_8=" + rl2 + ""
text10: "θ_9=" + nk + ""