If your project allows it, you can define a path in WED and move the camera by path_spline

Else you have to do some easy (b-)spline math