I'm making a mode7 game like mario-kart and I need to tilt the image before I draw it, I have tried using a buffer canvas to tilt the image then draw it on the games canvas but this makes it laggy (because the image of map is 1280 x 2556.)
So my question is:
How can I rotate my image before i draw it
SNES Mode7
. To get fast 3d rendering in HTML5 canvas, you should look into using WebGL. A complete explanation would be far too long to write as an answer, but doing a basic WebGL tutorial should tell you enough to do what you want to do. \$\endgroup\$