12

11

10

9

1

2

3

4

5

6

7

8

THE CLOCK

STOP

12

11

10

9

1

2

3

4

5

6

7

8

12

11

10

9

1

2

3

4

5

6

7

8

12

11

10

9

1

2

3

4

5

6

7

8

12

11

10

9

1

2

3

4

5

6

7

8

12

11

10

9

1

2

3

4

5

6

7

8

hms:

hms = 28304 (slider from 0 to 43200, step 1)
A10: hms
A11: floor(A10 / 3600)
B11: floor((A10 - A11 * 3600) / 60)
C11: A10 - A11 * 3600 - B11 * 60
C12: (C11 * 6)°
B12: (B11 * 6)° + (C11 / 60 * 6)°
A12: (A11 * 30)° + (B11 / 2)° + (C11 / 120)°
A_5 = (13.958572933740307, -7.177183015887274)
α: A12
B_5: A_5 + (0, 2.7)
A2: α
B8: A2 - 210°
A_4 = (-3.981623211093768, -7.177183015887274)
B_4: A_4 + (0, 2.7)
A8: A2 + 120°
A_3 = (-21.96689522563848, -7.177183015887274)
B_3: A_3 + (0, 2.7)
C5: A2 + 60°
A_1 = (-4.071774950515045, 6.796336594410671)
B_1: A_1 + (0, 2.7)
A5: A2 - 150°
A = (-21.92181935592784, 6.796336594410671)
β: B12
B: A + (0, 2.7)
γ: C12
D: A + (0, 4)
r6 = Circle(A, 0.05)
C: A + (0, 3.2)
C' = Rotate(C, -γ, A)
t7, t1 = Tangent(C', r6)
Z = Intersect(r6, t7)
F = Dilate(Z, 1.15, C')
X = Intersect(r6, t1)
E = Dilate(X, 1.15, C')
r7 = Circle(A, 0.15)
D' = Rotate(D, -β, A)
t3, t6 = Tangent(D', r7)
J = Intersect(r7, t3)
M = Dilate(J, 1.1, D')
H = Intersect(r7, t6)
N = Dilate(H, 1.1, D')
r1 = Circle(A, 5)
r2 = Circle(A, 4.3)
Li2 = Sequence(Rotate[D, 6° * i, A], i, 1, 59)
tg1, d10, d11, d13 = Polygon(F, E, C')
tg2, d4, d6, d3 = Polygon(D', N, M)
r8 = Circle(A, 0.2)
B' = Rotate(B, -α, A)
t8, t2 = Tangent(B', r8)
K = Intersect(r8, t8)
L = Intersect(r8, t2)
G = Dilate(K, 1.12, B')
I = Dilate(L, 1.12, B')
tg3, d7, d2, d1 = Polygon(I, G, B')
DA = Rotate(D, 30*°, A)
DB = Rotate(DA, 30*°, A)
DC = Rotate(DB, 30*°, A)
DD = Rotate(DC, 30*°, A)
DE = Rotate(DD, 30*°, A)
DF = Rotate(DE, 30*°, A)
DG = Rotate(DF, 30*°, A)
DH = Rotate(DG, 30*°, A)
DI = Rotate(DH, 30*°, A)
DJ = Rotate(DI, 30*°, A)
DK = Rotate(DJ, 30*°, A)
r3 = Circle(A, 5.1)
C2: γ
C1: C2 / (6°)
B2: β
B1: floor(B2 / (6°))
z1 = Semicircle(I, G)
z2 = Semicircle(I, G)
A1: floor(A2 / (30°))
c1 = true
c2 = true
A3 = If(A1 < 10, "0" + A1, "" + A1)
B3 = If(B1 < 10, "0" + B1, "" + B1)
C3 = If(C1 < 10, "0" + C1, "" + C1)
m = 3 (slider from 1 to 9, step 1)
O = Intersect(r3, r2)
t4 = Line(D, DF)
P, Q = Intersect(r3, t4)
R: Q + (-3, 0)
S: Q + (3, 0)
T: Q + (-3, -1.5)
U: Q + (3, -1.5)
V = Midpoint(T, R)
W = Midpoint(U, S)
D_1: A_1 + (0, 4)
r6_1 = Circle(A_1, 0.05)
C_1: A_1 + (0, 3.2)
C'_1 = Rotate(C_1, -γ, A_1)
t7_1, t1_1 = Tangent(C'_1, r6_1)
Z_1 = Intersect(r6_1, t7_1)
F_1 = Dilate(Z_1, 1.15, C'_1)
X_1 = Intersect(r6_1, t1_1)
E_1 = Dilate(X_1, 1.15, C'_1)
r7_1 = Circle(A_1, 0.15)
D'_1 = Rotate(D_1, -β, A_1)
t3_1, t6_1 = Tangent(D'_1, r7_1)
J_1 = Intersect(r7_1, t3_1)
M_1 = Dilate(J_1, 1.1, D'_1)
H_1 = Intersect(r7_1, t6_1)
N_1 = Dilate(H_1, 1.1, D'_1)
r1_1 = Circle(A_1, 5)
r2_1 = Circle(A_1, 4.3)
Li2_1 = Sequence(Rotate[D_1, 6° * i, A_1], i, 1, 59)
tg1_1, d10_1, d11_1, d13_1 = Polygon(F_1, E_1, C'_1)
tg2_1, d4_1, d6_1, d3_1 = Polygon(D'_1, N_1, M_1)
r8_1 = Circle(A_1, 0.2)
B'_1 = Rotate(B_1, -A5, A_1)
t8_1, t2_1 = Tangent(B'_1, r8_1)
K_1 = Intersect(r8_1, t8_1)
L_1 = Intersect(r8_1, t2_1)
G_1 = Dilate(K_1, 1.12, B'_1)
I_1 = Dilate(L_1, 1.12, B'_1)
tg3_1, d7_1, d2_1, d1_1 = Polygon(I_1, G_1, B'_1)
DA_1 = Rotate(D_1, 30*°, A_1)
DB_1 = Rotate(DA_1, 30*°, A_1)
DC_1 = Rotate(DB_1, 30*°, A_1)
DD_1 = Rotate(DC_1, 30*°, A_1)
DE_1 = Rotate(DD_1, 30*°, A_1)
DF_1 = Rotate(DE_1, 30*°, A_1)
DG_1 = Rotate(DF_1, 30*°, A_1)
DH_1 = Rotate(DG_1, 30*°, A_1)
DI_1 = Rotate(DH_1, 30*°, A_1)
DJ_1 = Rotate(DI_1, 30*°, A_1)
DK_1 = Rotate(DJ_1, 30*°, A_1)
r3_1 = Circle(A_1, 5.1)
z1_1 = Semicircle(I_1, G_1)
z2_1 = Semicircle(I_1, G_1)
O_1 = Intersect(r3_1, r2_1)
t4_1 = Line(D_1, DF_1)
A_2 = (13.958572933740307, 6.751260724700033)
B_2: A_2 + (0, 2.7)
D_2: A_2 + (0, 4)
r6_2 = Circle(A_2, 0.05)
C_2: A_2 + (0, 3.2)
C'_2 = Rotate(C_2, -γ, A_2)
t7_2, t1_2 = Tangent(C'_2, r6_2)
Z_2 = Intersect(r6_2, t7_2)
F_2 = Dilate(Z_2, 1.15, C'_2)
X_2 = Intersect(r6_2, t1_2)
E_2 = Dilate(X_2, 1.15, C'_2)
r7_2 = Circle(A_2, 0.15)
D'_2 = Rotate(D_2, -β, A_2)
t3_2, t6_2 = Tangent(D'_2, r7_2)
J_2 = Intersect(r7_2, t3_2)
M_2 = Dilate(J_2, 1.1, D'_2)
H_2 = Intersect(r7_2, t6_2)
N_2 = Dilate(H_2, 1.1, D'_2)
r1_2 = Circle(A_2, 5)
r2_2 = Circle(A_2, 4.3)
Li2_2 = Sequence(Rotate[D_2, 6° * i, A_2], i, 1, 59)
tg1_2, d10_2, d11_2, d13_2 = Polygon(F_2, E_2, C'_2)
tg2_2, d4_2, d6_2, d3_2 = Polygon(D'_2, N_2, M_2)
r8_2 = Circle(A_2, 0.2)
B'_2 = Rotate(B_2, -α, A_2)
t8_2, t2_2 = Tangent(B'_2, r8_2)
K_2 = Intersect(r8_2, t8_2)
L_2 = Intersect(r8_2, t2_2)
G_2 = Dilate(K_2, 1.12, B'_2)
I_2 = Dilate(L_2, 1.12, B'_2)
tg3_2, d7_2, d2_2, d1_2 = Polygon(I_2, G_2, B'_2)
DA_2 = Rotate(D_2, 30*°, A_2)
DB_2 = Rotate(DA_2, 30*°, A_2)
DC_2 = Rotate(DB_2, 30*°, A_2)
DD_2 = Rotate(DC_2, 30*°, A_2)
DE_2 = Rotate(DD_2, 30*°, A_2)
DF_2 = Rotate(DE_2, 30*°, A_2)
DG_2 = Rotate(DF_2, 30*°, A_2)
DH_2 = Rotate(DG_2, 30*°, A_2)
DI_2 = Rotate(DH_2, 30*°, A_2)
DJ_2 = Rotate(DI_2, 30*°, A_2)
DK_2 = Rotate(DJ_2, 30*°, A_2)
r3_2 = Circle(A_2, 5.1)
z1_2 = Semicircle(I_2, G_2)
z2_2 = Semicircle(I_2, G_2)
O_2 = Intersect(r3_2, r2_2)
t4_2 = Line(D_2, DF_2)
D_3: A_3 + (0, 4)
r6_3 = Circle(A_3, 0.05)
C_3: A_3 + (0, 3.2)
C'_3 = Rotate(C_3, -γ, A_3)
t7_3, t1_3 = Tangent(C'_3, r6_3)
Z_3 = Intersect(r6_3, t7_3)
F_3 = Dilate(Z_3, 1.15, C'_3)
X_3 = Intersect(r6_3, t1_3)
E_3 = Dilate(X_3, 1.15, C'_3)
r7_3 = Circle(A_3, 0.15)
D'_3 = Rotate(D_3, -β, A_3)
t3_3, t6_3 = Tangent(D'_3, r7_3)
J_3 = Intersect(r7_3, t3_3)
M_3 = Dilate(J_3, 1.1, D'_3)
H_3 = Intersect(r7_3, t6_3)
N_3 = Dilate(H_3, 1.1, D'_3)
r1_3 = Circle(A_3, 5)
r2_3 = Circle(A_3, 4.3)
Li2_3 = Sequence(Rotate[D_3, 6° * i, A_3], i, 1, 59)
tg1_3, d10_3, d11_3, d13_3 = Polygon(F_3, E_3, C'_3)
tg2_3, d4_3, d6_3, d3_3 = Polygon(D'_3, N_3, M_3)
r8_3 = Circle(A_3, 0.2)
B'_3 = Rotate(B_3, -C5, A_3)
t8_3, t2_3 = Tangent(B'_3, r8_3)
K_3 = Intersect(r8_3, t8_3)
L_3 = Intersect(r8_3, t2_3)
G_3 = Dilate(K_3, 1.12, B'_3)
I_3 = Dilate(L_3, 1.12, B'_3)
tg3_3, d7_3, d2_3, d1_3 = Polygon(I_3, G_3, B'_3)
DA_3 = Rotate(D_3, 30*°, A_3)
DB_3 = Rotate(DA_3, 30*°, A_3)
DC_3 = Rotate(DB_3, 30*°, A_3)
DD_3 = Rotate(DC_3, 30*°, A_3)
DE_3 = Rotate(DD_3, 30*°, A_3)
DF_3 = Rotate(DE_3, 30*°, A_3)
DG_3 = Rotate(DF_3, 30*°, A_3)
DH_3 = Rotate(DG_3, 30*°, A_3)
DI_3 = Rotate(DH_3, 30*°, A_3)
DJ_3 = Rotate(DI_3, 30*°, A_3)
DK_3 = Rotate(DJ_3, 30*°, A_3)
r3_3 = Circle(A_3, 5.1)
z1_3 = Semicircle(I_3, G_3)
z2_3 = Semicircle(I_3, G_3)
O_3 = Intersect(r3_3, r2_3)
t4_3 = Line(D_3, DF_3)
D_4: A_4 + (0, 4)
r6_4 = Circle(A_4, 0.05)
C_4: A_4 + (0, 3.2)
C'_4 = Rotate(C_4, -γ, A_4)
t7_4, t1_4 = Tangent(C'_4, r6_4)
Z_4 = Intersect(r6_4, t7_4)
F_4 = Dilate(Z_4, 1.15, C'_4)
X_4 = Intersect(r6_4, t1_4)
E_4 = Dilate(X_4, 1.15, C'_4)
r7_4 = Circle(A_4, 0.15)
D'_4 = Rotate(D_4, -β, A_4)
t3_4, t6_4 = Tangent(D'_4, r7_4)
J_4 = Intersect(r7_4, t3_4)
M_4 = Dilate(J_4, 1.1, D'_4)
H_4 = Intersect(r7_4, t6_4)
N_4 = Dilate(H_4, 1.1, D'_4)
r1_4 = Circle(A_4, 5)
r2_4 = Circle(A_4, 4.3)
Li2_4 = Sequence(Rotate[D_4, 6° * i, A_4], i, 1, 59)
tg1_4, d10_4, d11_4, d13_4 = Polygon(F_4, E_4, C'_4)
tg2_4, d4_4, d6_4, d3_4 = Polygon(D'_4, N_4, M_4)
r8_4 = Circle(A_4, 0.2)
B'_4 = Rotate(B_4, -A8, A_4)
t8_4, t2_4 = Tangent(B'_4, r8_4)
K_4 = Intersect(r8_4, t8_4)
L_4 = Intersect(r8_4, t2_4)
G_4 = Dilate(K_4, 1.12, B'_4)
I_4 = Dilate(L_4, 1.12, B'_4)
tg3_4, d7_4, d2_4, d1_4 = Polygon(I_4, G_4, B'_4)
DA_4 = Rotate(D_4, 30*°, A_4)
DB_4 = Rotate(DA_4, 30*°, A_4)
DC_4 = Rotate(DB_4, 30*°, A_4)
DD_4 = Rotate(DC_4, 30*°, A_4)
DE_4 = Rotate(DD_4, 30*°, A_4)
DF_4 = Rotate(DE_4, 30*°, A_4)
DG_4 = Rotate(DF_4, 30*°, A_4)
DH_4 = Rotate(DG_4, 30*°, A_4)
DI_4 = Rotate(DH_4, 30*°, A_4)
DJ_4 = Rotate(DI_4, 30*°, A_4)
DK_4 = Rotate(DJ_4, 30*°, A_4)
r3_4 = Circle(A_4, 5.1)
z1_4 = Semicircle(I_4, G_4)
z2_4 = Semicircle(I_4, G_4)
O_4 = Intersect(r3_4, r2_4)
t4_4 = Line(D_4, DF_4)
D_5: A_5 + (0, 4)
r6_5 = Circle(A_5, 0.05)
C_5: A_5 + (0, 3.2)
C'_5 = Rotate(C_5, -γ, A_5)
t7_5, t1_5 = Tangent(C'_5, r6_5)
Z_5 = Intersect(r6_5, t7_5)
F_5 = Dilate(Z_5, 1.15, C'_5)
X_5 = Intersect(r6_5, t1_5)
E_5 = Dilate(X_5, 1.15, C'_5)
r7_5 = Circle(A_5, 0.15)
D'_5 = Rotate(D_5, -β, A_5)
t3_5, t6_5 = Tangent(D'_5, r7_5)
J_5 = Intersect(r7_5, t3_5)
M_5 = Dilate(J_5, 1.1, D'_5)
H_5 = Intersect(r7_5, t6_5)
N_5 = Dilate(H_5, 1.1, D'_5)
r1_5 = Circle(A_5, 5)
r2_5 = Circle(A_5, 4.3)
Li2_5 = Sequence(Rotate[D_5, 6° * i, A_5], i, 1, 59)
tg1_5, d10_5, d11_5, d13_5 = Polygon(F_5, E_5, C'_5)
tg2_5, d4_5, d6_5, d3_5 = Polygon(D'_5, N_5, M_5)
r8_5 = Circle(A_5, 0.2)
B'_5 = Rotate(B_5, -B8, A_5)
t8_5, t2_5 = Tangent(B'_5, r8_5)
K_5 = Intersect(r8_5, t8_5)
L_5 = Intersect(r8_5, t2_5)
G_5 = Dilate(K_5, 1.12, B'_5)
I_5 = Dilate(L_5, 1.12, B'_5)
tg3_5, d7_5, d2_5, d1_5 = Polygon(I_5, G_5, B'_5)
DA_5 = Rotate(D_5, 30*°, A_5)
DB_5 = Rotate(DA_5, 30*°, A_5)
DC_5 = Rotate(DB_5, 30*°, A_5)
DD_5 = Rotate(DC_5, 30*°, A_5)
DE_5 = Rotate(DD_5, 30*°, A_5)
DF_5 = Rotate(DE_5, 30*°, A_5)
DG_5 = Rotate(DF_5, 30*°, A_5)
DH_5 = Rotate(DG_5, 30*°, A_5)
DI_5 = Rotate(DH_5, 30*°, A_5)
DJ_5 = Rotate(DI_5, 30*°, A_5)
DK_5 = Rotate(DJ_5, 30*°, A_5)
r3_5 = Circle(A_5, 5.1)
z1_5 = Semicircle(I_5, G_5)
z2_5 = Semicircle(I_5, G_5)
O_5 = Intersect(r3_5, r2_5)
t4_5 = Line(D_5, DF_5)
C2_1: γ
C1_1: C2_1 / (6°)
B2_1: β
B1_1: floor(B2_1 / (6°))
A2_1: α
A1_1: floor(A2_1 / (30°))
C2_3: γ
B2_3: β
A2_3: α
C2_2: γ
C1_2: C2_2 / (6°)
B2_2: β
B1_2: floor(B2_2 / (6°))
A2_2: α
A1_2: floor(A2_2 / (30°))
α_1 = 4.876449930072157 rad (slider from 0 to 6.283185307179586, step 0.1*°)
β_1 = 1.980948701013564 rad (slider from 0*° to 6.283185307179586, step 0.1*°)
γ_1 = 5.759586531581288 rad (slider from 0 to 6.283185307179586, step 6*°)
C2_5: γ_1
B2_5: β_1
A2_5: α_1
C2_4: γ_1
C1_3: C2_4 / (6°)
B2_4: β_1
B1_3: floor(B2_4 / (6°))
A2_4: α_1
A1_3: floor(A2_4 / (30°))
α_2 = 4.864232625308197 rad (slider from 0 to 6.283185307179586, step 0.1*°)
β_2 = 1.8308503853420517 rad (slider from 0*° to 6.283185307179586, step 0.1*°)
γ_2 = 3.0368728984701336 rad (slider from 0 to 6.283185307179586, step 6*°)
C2_7: γ_2
B2_7: β_2
A2_7: α_2
C2_6: γ_2
C1_4: C2_6 / (6°)
B2_6: β_2
B1_4: floor(B2_6 / (6°))
A2_6: α_2
A1_4: floor(A2_6 / (30°))
α_3 = 4.852015320544236 rad (slider from 0 to 6.283185307179586, step 0.1*°)
β_3 = 1.6912240451825054 rad (slider from 0*° to 6.283185307179586, step 0.1*°)
γ_3 = 0.942477796076938 rad (slider from 0 to 6.283185307179586, step 6*°)
C2_9: γ_3
B2_9: β_3
A2_9: α_3
C2_8: γ_3
C1_5: C2_8 / (6°)
B2_8: β_3
B1_5: floor(B2_8 / (6°))
A2_8: α_3
A1_5: floor(A2_8 / (30°))
vbc: "       Hà Nội 
$\doublebox{" + (LaTeX[A3]) + " :" + (LaTeX[B3]) + " :" + (LaTeX[C3]) + "} $"
A4: floor(A5 / (30°))
A6 = If(A4 < 10, "0" + A4, "" + A4)
A7: floor(A8 / (30°))
A9 = If(A7 < 10, "0" + A7, "" + A7)
B5: A2
B4: floor(B5 / (30°))
B6 = If(B4 < 10, "0" + B4, "" + B4)
B7: floor(B8 / (30°))
B9 = If(B7 < 10, "0" + B7, "" + B7)
C4: floor(C5 / (30°))
C6 = If(C4 < 10, "0" + C4, "" + C4)
C8: α
C7: floor(C8 / (30°))
C9 = If(C7 < 10, "0" + C7, "" + C7)
vbc_1: "        Cairo 
$\doublebox{" + (LaTeX[A6]) + " :" + (LaTeX[B3]) + " :" + (LaTeX[C3]) + "} $"
vbc_3: "        Tokyo 
$\doublebox{" + (LaTeX[C6]) + " :" + (LaTeX[B3]) + " :" + (LaTeX[C3]) + "} $"
vbc_4: "        Sydney 
$\doublebox{" + (LaTeX[A9]) + " :" + (LaTeX[B3]) + " :" + (LaTeX[C3]) + "} $"
vbc_5: "       London
$\doublebox{" + (LaTeX[B9]) + " :" + (LaTeX[B3]) + " :" + (LaTeX[C3]) + "} $"
vbc_2: "      Newyork 
$\doublebox{" + (LaTeX[A3]) + " :" + (LaTeX[B3]) + " :" + (LaTeX[C3]) + "} $"
HopChonDauVao1 = Textfield(hms)