title: Painting app with huge canvas
body: <p>I'm working on yet another drawing app with canvas that is many times bigger than screen.
  I need some advice/direction on how to that.</p>
  
  <p>Basically what i want is to scroll around this big canvas, drawing only in visible region.
  I was thinking of two approaches:</p>
  
  <ol>
  <li>Have 64x64 (or whatever) "tiles" to draw on, and then on scroll just load new tiles.</li>
  <li>Record all user strokes (points) and on scroll calculate which are in specified region, and draw them, using only screen-size canvas.</li>
  </ol>
  
  <p>If this matters, i'm using cocos2d for prototype.</p>