How to simulate a dropcam or snail cam mechanism help required urgent

How to simulate a dropcam or snail cam mechanism help required urgent