title: Javascript (JS) rotate intermitentg animation
body: <p>I am trying to create an animation for rotating the canvas with accelatarion, deceleration and stop.
  The objective is to rotate the entire canvas X degrees in Y secconds, but (0.25 x Y) seconds accelerating, (0.25 x Y secconds) decelarating and (0.5 x Y) stopped.
  X and Y will be variables.
  Any idea about how to do that with canvas and javascript?
  Thanks</p>