title: Canvas fast texture mapping
body: <p>I'm making a top-down game with simple 3d graphics. (I'd be happy if it were like gta 2.) I've implemented affine texture mapping that I have found <a href="https://stackoverflow.com/questions/4774172/image-manipulation-and-texture-mapping-using-html5-canvas">here</a> but it is too CPU intensive.</p>
  
  <p>So my question is: Is there a better solution? I don't understand WebGL, but maybe hardware-accelerated texture mapping would be better than this? I need a function, that will map a texture on a quadrangle.</p>
  
  <p>You can try my game <a href="http://kuka.zby.cz/mesto/engine/mesto.html" rel="nofollow noreferrer">here</a>. (press <kbd>J</kbd> to see a wireframe and <kbd>K</kbd> or <kbd>L</kbd> to improve fps or quality) As you can see it really needs some optimalization. :-)</p>