Sine and Cosine of complementary angles

Move the slider. For each value of A, the sin(A) = cos(B).

How does ∠A relate to ∠B?