Hello, is there any library or abstraction that allows to control the perspective of the camera with the mouse on gem?

Do anybody have tried something like this?
i would like to have a simple functionality as in the peasycam library for processing.


http://mrfeinberg.com/peasycam/#demos


thanks



Adam