Cliquer ici pour modifier les données de départ.

Modifiez\, l'heure\, de\, l'horloge\, en\, déplaçant\, le\, \fgcolor{999900}{curseur}}

f = 6 (slider from 0 to 720, step 1)
g = 105 (slider from 0 to 359, step 1)
Attente_{faux} = If(Mod[f, 2.0] ≟ 0.0, 2.0 * g, 2.0 * g + 1.0)
Minutes'_{Att} = Mod(Attente_{faux}, 60.0)
J = Intersect(d, xAxis)
A = (4, 6)
m = 0 (slider from 0 to 720, step 1)
M = (4, 3)
Horloge1 = Sequence(Rotate[A, 30.0° * k, M], k, 1.0, 11.0)
A'_1 = Translate(A, Vector[Vector[((x(J) - x(A)) * 2.0, 0.0)]])
M'_1 = Translate(M, Vector[Vector[((x(J) - x(A)) * 2.0, 0.0)]])
Horloge2 = Sequence(Rotate[A'_1, 30.0° * k, M'_1], k, 1.0, 11.0)
a = Ray(M, A)
M'_2 = Rotate(M, m°, M)
A'_2 = Rotate(A, -(m)° / 2.0, M)
a'_1 = Ray(M'_2, A'_2)
Minutes = Mod(m, 60.0)
P = Point(a'_1)
M'_3 = Rotate(M, Mod[m, 60.0]°, M)
A' = Rotate(A, -(6.0 * m)°, M)
a' = Ray(M'_3, A')
B = Point(a')
C = Midpoint(B, M)
D = Midpoint(B, C)
b = OrthogonalLine(D, a')
E = Point(b)
E'_1 = Mirror(E, a')
poly1, b_1, e, m_1, e' = Polygon(B, E, M, E'_1)
F = Midpoint(M, P)
G = Midpoint(F, P)
c = OrthogonalLine(G, a'_1)
H = Point(c)
H'_1 = Mirror(H, a'_1)
poly2, p, h', m_2, h = Polygon(P, H'_1, M, H)
P'_1 = Mirror(P, d)
H'' = Mirror(H'_1, d)
M'_4 = Mirror(M, d)
H'_2 = Mirror(H, d)
poly2'_1, p', h'', m', h'_1 = Polygon(P'_1, H'', M'_4, H'_2)
B'_1 = Mirror(B, d)
E'_2 = Mirror(E, d)
M'_5 = Mirror(M, d)
I = Mirror(E'_1, d)
poly1'_1, b', e'_1, m'_1, i = Polygon(B'_1, E'_2, M'_5, I)
Heures: (m - Minutes) / 60.0
Minutes' = Mod(60.0 - Minutes, 60.0)
Heures' = If(Minutes' ≠ 0.0, 11.0 - Heures, 12.0 - Heures)
texte2: "Heure lue en transparence: " + Heures' + "h " + Minutes' + "min."
Minutes_{Att} = Mod(f, 60.0)
Heures_{Att}: (f - Minutes_{Att}) / 60.0
texte1: "Heure actuelle: " + Heures + "h " + Minutes + "min."
texte3: "Temps réel d'attente: " + Heures_{Att} + "h " + Minutes_{Att} + "min."
Heures'_{Att}: (Attente_{faux} - Minutes'_{Att}) / 60.0
texte4: "Faux temps d'attente: " + Heures'_{Att} + "h " + Minutes'_{Att} + "min."
Attente_{vrai}: f
Solution1: 360.0 + 0.5 * (Attente_{faux} - Attente_{vrai})
Minutes1 = Mod(Solution1, 60.0)
Heures1: (Solution1 - Minutes1) / 60.0
Solution2: 0.5 * (Attente_{faux} - Attente_{vrai})
Minutes2 = Mod(Solution2, 60.0)
Heures2: (Solution2 - Minutes2) / 60.0
Juste = If(m ≟ Mod[Solution1, 720.0] ∨ m ≟ Mod[Solution2, 720.0], true, false)
B' = Rotate(B, -6.0 * f°, M)
E' = Rotate(E, -6.0 * f°, M)
M'_6 = Rotate(M, -6.0 * f°, M)
K = Rotate(E'_1, -6.0 * f°, M)
poly1', b'_1, e'_2, m'_2, k = Polygon(B', E', M'_6, K)
P' = Rotate(P, -(0.5) * f°, M)
L = Rotate(H'_1, -(0.5) * f°, M)
M' = Rotate(M, -(0.5) * f°, M)
H' = Rotate(H, -(0.5) * f°, M)
poly2', p'_1, l, m'_3, h'_2 = Polygon(P', L, M', H')
Depart: m + f
Minutes_{Depart} = Mod(Depart, 60.0)
Heures_{Depart}: (Depart - Minutes_{Depart}) / 60.0
texte5: "Heure de départ: " + Heures_{Depart} + "h " + Minutes_{Depart} + "min."
q = Circle(M, 1.1 * Distance[M, A])
r = Circle(M'_1, 1.1 * Distance[M, A])
j = false