Use sin() to map gesture to flat plane