\frac{\pi}{2}

\pi

\frac{3\pi}{2}

2\pi

\frac{5\pi}{2}

3\pi

\frac{7\pi}{2}

4\pi

-\frac{\pi}{2}

-\pi

-\frac{3\pi}{2}

-2\pi

-\frac{5\pi}{2}

-3\pi

-\frac{7\pi}{2}

-4\pi

1

position début curseur

position fin curseur

 \frac{ π }{ 2} 

π

 \frac{ 3π }{ 2} 

2π

k = 0 (slider from 0 to 120, step 1)
O = Intersect(xAxis, yAxis)
I = Point(xAxis)
a = OrthogonalLine(I, xAxis)
M = Point(a)
signe: y(M) / abs(y(M))
α: k * y(M) / 100
J = Point(yAxis)
c = Circle(O, I)
C: (cos(α), sin(α))
r: (y(M) - α) * signe
e = Circle(C, r)
u: (cos(α + 3.141592653589793 / 2 * signe), sin(α + 3.141592653589793 / 2 * signe))
B = Translate(C, u)
v = Vector(C, B)
d = Ray(C, B)
E_1, E = Intersect(e, d)
A = (1, 1)
b = Segment(O, C)
f = If(signe > 0, CircleArc[O, I, C], CircleArc[O, C, I])
N: (1, α)
g = Segment(N, I)
P1 = (1, 1.57)
Q1 = (1, 3.14)
R1 = (1, 4.71)
S1 = (1, 6.28)
T1 = (1, 7.85)
U1 = (1, 9.42)
V1 = (1, 10.99)
W1 = (1, 12.56)
P2 = (1, -1.57)
Q2 = (1, -3.14)
R2 = (1, -4.71)
S2 = (1, -6.28)
T2 = (1, -7.85)
U2 = (1, -9.42)
V2 = (1, -10.99)
W2 = (1, -12.56)
e1 = Circle(C, 1.57 - α * signe)
P = Intersect(e1, d)
e2 = Circle(C, 3.14 - α * signe)
Q = Intersect(e2, d)
e3 = Circle(C, 4.71 - α * signe)
e4 = Circle(C, 6.28 - α * signe)
R = Intersect(e3, d)
S = Intersect(e4, d)
e5 = Circle(C, 7.85 - α * signe)
T = Intersect(e5, d)
e6 = Circle(C, 9.42 - α * signe)
U = Intersect(e6, d)
e7 = Circle(C, 10.99 - α * signe)
V = Intersect(e7, d)
e8 = Circle(C, 12.56 - α * signe)
W = Intersect(e8, d)
I' = (-1, 0)
J' = (0, -1)
h = Segment(J, J')
i = Segment(I', I)