Try this out, might be what you are looking for.
rem Standard Setup Code
sync on : sync rate 60
color backdrop rgb(0,0,128) : hide mouse
set text font "arial" : set text size 12 : set text transparent
rem make matrix
make matrix 1,100,100,30,30
rem position cam
position camera 50,3,50
rem start main loop
do
rem variables
CamAngleY#=wrapvalue(CamAngleY#+mousemovex()*1.0)
CamAngleX#=wrapvalue(CamAngleX#+mousemovey()*1.0)
BlahY#=curveangle(BlahY#,CamAngleY#,1.6)
BlahX#=curveangle(BlahX#,CamAngleX#,1.6)
rem rotate camera
rotate camera BlahX#,BlahY#,0
sync
loop
I am the very disease you pretend to be.