title: Clearing stroke paths (within a loop) in HTML5 canvas
body: <p>I'm struggling to clear a canvas for 2 simple stroke paths.</p>
  
  <p>Example: <a href="http://dl.dropbox.com/u/104380/canvas-test-case.html" rel="nofollow">http://dl.dropbox.com/u/104380/canvas-test-case.html</a></p>
  
  <p>... I'm using the new</p>
  
  <pre><code>requestAnimFrame()  
  </code></pre>
  
  <p>by Paul Irish. But I don't think this should have any effect on Canvas contexts, as opposed to a setInterval. As far as I know, I'm also correctly using beginPath() and recalling getContext() inside the render loop.</p>
  
  <p>... problem is, the two original strokes are not clearing!</p>
  
  <p>Any ideas?</p>