α=ω_v*t

β=ω_h*t+Δφ

f_v = 3
f_h = 2
M_v = (-3.2, -3)
r_h = 4.999999999999998
Rand = 0.5
r_v = 3
O_v: M_v + (r_v, 0)
K_v = Circle(M_v, O_v)
M_h: (x(M_v) + r_v + r_h + 2 Rand, y(M_v) + r_v + r_h + 2 Rand)
O_h: M_h + (0, -r_h)
K_h = Circle(M_h, O_h)
A: (x(M_v) + r_v + Rand, y(M_v) + r_v + Rand)
B: (x(M_v) + r_v + Rand, y(M_v) - r_v - Rand)
C: (x(M_h) + r_h + Rand, y(M_v) - r_v - Rand)
D: (x(M_h) + r_h + Rand, y(M_v) + r_v + Rand)
Monitor, a, b, c, d = Polygon(A, B, C, D)
ω_v: 2 π f_v
t = 0.032000000000000015
ω_h: 2 π f_h
Δφ = 0.2617993877991492 rad
P_v = Rotate(O_v, ω_v t, M_v)
P_h = Rotate(O_h, ω_h t + Δφ, M_h)
e = Segment(M_v, O_v)
f = Segment(M_h, O_h)
g = Line(P_v, e)
h = Line(P_h, f)
P = Intersect(g, h)
v_h = Vector(M_v, P_v)
v_v = Vector(M_h, P_h)
α = Angle(O_v, M_v, P_v)
β = Angle(O_h, M_h, P_h)