I\'m making a small game in js where I move a ball on device orientation change. When the ball moves it leaves a trace, I tried to do it with clearRect() but it was
clearRect()