hours
Author: Daniel Mentrard
Date: 15 Octobre 2014

It is :

Put this clock at time.

Hour setting

Minute setting

+

+

-

-

New time

A = (-2.9, -5.2)
B = (8, -5)
C = (-3.06, 5.38)
D = Midpoint(C, B)
a = Line(D, yAxis)
b = Line(D, xAxis)
E = Point(b)
c = Circle(D, E)
F, G = Intersect(c, a)
d = 36 (slider from 0 to 354, step 6)
F'_1 = Rotate(F, -(d°), D)
H = Point(a)
e = Circle(D, H)
f = Ray(F'_1, D)
M = Point(b)
h = Circle(D, M)
N, O = Intersect(h, a)
i = 0 (slider from 0 to 12, step 1)
N'_1 = Rotate(N, (-i * 30)°, D)
j = Line(D, N'_1)
P, Q = Intersect(e, j)
p = Circle(P, 0.3)
R, S = Intersect(e, p)
poly2, r, s, n' = Polygon(S, N'_1, R)
m = 1 (slider from -5 to 5, step 0.1)
aa = Random(0, 59 + 0 * m)
bb = Random(0, 11 + 0 * m)
F' = Rotate(F, (-(aa * 6))°, D)
N' = Rotate(N, -((bb * 30)°), D)
ww = Distance(N', N'_1)
xx = Distance(F'_1, F')
texte2: "" + bb + " h"
texte1: "" + aa + " min"
I = Intersect(e, f, 2)
J = (16.915656565656565, 0.009427609427608823)
K = (18.798821548821547, 1.1713804713804707)
I' = Mirror(I, D)
k = Circle(I', 0.3)
L, T = Intersect(k, e)
poly1, t, l, f'_1 = Polygon(L, F'_1, T)
g: d ≟ 5
N'_2 = Rotate(N, -((bb * 30)° + (d / 20)°), D)
poly3, r_1, s_1, n'_2 = Polygon(S, N'_2, R)