Type: Posts; User: Sean4u
My eyes! Should the argument to Math.sin be in degrees? It might be worth checking the API docs.