sekúnd

hodín

minút

Nastav čas

ss = 0 (slider from 0 to 60, step 1)
Sekundy: (60 * ss)
hh = 4 (slider from 0 to 12, step 1)
Hodiny: hh
mm = 0 (slider from 0 to 60, step 1)
Minuty: (12 * mm)
CasR: (86400 * (hh / 12 + (mm / 60 * 24) + (ss / 3600 * 24)))
Stred: (0, 0)
H_{12}: Stred + (0, 3.2)
R_h: Stred + (0, 2.7)
R_m: Stred + (0, 3)
m = 9216 (slider from 0 to 43200, step 1)
e = Circle(Stred, R_m)
c = Circle(Stred, H_{12})
d = Circle(Stred, R_h)
Sek: (((360 * Sekundy)) / 3600)°
SEK = Rotate(R_m, (-Sek), Stred)
s = Angle(SEK, Stred, R_h)
Min: (((360 * Minuty)) / 720)°
MIN = Rotate(R_m, (-(Min + Sek / 60)), Stred)
Hod: (((360 * Hodiny)) / 12)°
HOD = Rotate(R_m, (-(Hod + Min / 12 + Sek / 720)), Stred)
E = Point(xAxis)
f = Circle(Stred, E)
g, h_2 = Tangent(HOD, f)
F = Intersect(f, h_2)
G = Intersect(f, g)
t1, f_1, hod, g_1 = Polygon(HOD, G, F)
i, j = Tangent(MIN, f)
H = Intersect(f, i)
I = Intersect(f, j)
p = CircleSector(Stred, H, I)
t2, i_1, min, h_1 = Polygon(MIN, H, I)
Zoznam_1 = Sequence(Rotate[R_m, (6° * i), Stred], i, 1, 59)
α = Angle(HOD, Stred, MIN)
J = Intersect(e, yAxis, 2)
K = Intersect(e, yAxis, 1)
k = Segment(K, J)
L = Intersect(e, xAxis, 1)
M = Intersect(e, xAxis, 2)
l = Segment(L, M)
N = Point(e)
O = Point(e)
P = Point(e)
Q = Point(e)
R = Point(e)
S = Point(e)
T = Point(e)
U = Point(e)
text1: "Hodinové ručičky zvierajú " + α + " uhol"
u = Vector(Stred, SEK)