title: 2D side scrolling camera view in html5
body: <p>I was wondering how I could go about making a camera-like view where I could scroll a level within a canvas element just like this:</p>
  
  <p><a href="http://playbiolab.com/" rel="nofollow noreferrer">http://playbiolab.com/</a></p>
  
  <p><a href="https://i.stack.imgur.com/DgoUL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DgoUL.jpg" alt="Biolab screenshot"></a></p>