Top "Html5-canvas" questions

Canvas is an HTML element that allows for dynamic, scriptable rendering of 2D shapes, 3D shapes, bitmap images and animations in both 2D and 3D.

HTML5 Canvas Image Scaling Issue

I am trying to make a pixel art themed game in HTML5 canvas, and as part of that I take 10…

html html5-canvas nearest-neighbor bicubic
HTML5 Panning based on Mouse Movement

I'm trying to implement functionality to "pan" inside a canvas in HTML5 and I am unsure about the best way …

javascript jquery html5-canvas panning
Rapidly updating image with Data URI causes caching, memory leak

I have a webpage that rapidly streams JSON from the server and displays bits of it, about 10 times/second. One …

javascript html memory-leaks html5-canvas data-uri
Adding a watermark to a canvas that already has an image - HTML5, Canvas

I have a camera video feed and a canvas. The canvas takes the image of the feed when user clicks …

javascript html html5-canvas overlay watermark
HTML5 Canvas: better to re-draw objects or use bitmaps?

My project has an HTML5 Canvas on which graphical objects are drawn repeatedly. These objects change rapidly. Drawing them takes …

javascript html canvas html5-canvas
HTML5 Canvas: Calculating a x,y point when rotated

I developing a HTML5 Canvas App and it involves reading a xml file that describes the position of arrows, rectanges …

javascript math html5-canvas trigonometry
Canvas vs SVG for simple games

If I wanted to build a simple game (snake, checkers, pacman or whatever) what would be the better approach - …

javascript html svg html5-canvas
Automatically Crop HTML5 canvas to contents

Let's say this is my canvas, with an evil-looking face drawn on it. I want to use toDataURL() to export …

javascript html html5-canvas
Merge Multiple Canvases and Download as Image

I'm attempting to merge two HTML canvases into a single canvas and then download that as an image. My code …

javascript html canvas html5-canvas todataurl
JavaScript text recognition and OCR on <canvas>

I found a web application that recognizes handwritten math equations: http://webdemo.visionobjects.com/equation.html?locale=default I would …

javascript html5-canvas ocr text-recognition