This simulation correlates the circular motion and SHM
The cyan ball and cyan graph indicates vertical motion, pink one indicates horizontal motion