Equal chords are equidistant from the centre of the circle

[b]Sliders for changing the following:[/b][br]1. Radius of the circle,[br]2. Length of OX and OY and,[br][br][b]Red dots for rotating the respective chords:[/b][br]1. CD and AB.[br][br][b]Pre-requisite knowledge and terms:[/b] Pythagoras Theorem, Perpendicular bisector, Radius, Chords, Equidistant[br][br][b]Task:[/b] Rotate the point X and point Y accordingly for Q1[br][br][b]Q1.[/b] Observe that there are two chords, AB and CD. What is the circumstance/situation will the chord CD and AB be equal?

Information: Equal chords are equidistant from the centre of the circle