Can anyone helpme with the following functions by providing Javascript examples for the following functions?

My Goal is to achieve rotation from  a particular point where camera will be placed