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.

How to fix getImageData() error The canvas has been tainted by cross-origin data?

My code is working very well on my localhost but it is not working on the site. I got this …

javascript html html5-canvas
HTML5 Canvas Resize (Downscale) Image High Quality?

I use html5 canvas elements to resize images im my browser. It turns out that the quality is very low. …

javascript css html canvas html5-canvas
How to align absolutely positioned element to center?

I am trying to stack two canvas together and make it a double layers canvas. I've saw an example here: &…

css html5-canvas
Real mouse position in canvas

I'm trying to draw with the mouse over a HTML5 canvas, but the only way that it seems to work …

javascript canvas html5-canvas mouse-position
HTML5 Canvas vs. SVG vs. div

What is the best approach for creating elements on the fly and being able to move them around? For example, …

javascript html svg html5-canvas
Accessing JPEG EXIF rotation data in JavaScript on the client side

I'd like to rotate photos based on their original rotation, as set by the camera in JPEG EXIF image data. …

javascript jpeg exif html5-canvas
Changing three.js background to transparent or other color

I've been trying to change what seems to be the default background color of my canvas from black to transparent / …

css html canvas html5-canvas three.js
how to draw smooth curve through N points using javascript HTML5 canvas?

For a drawing application, I'm saving the mouse movement coordinates to an array then drawing them with lineTo. The resulting …

javascript canvas html5-canvas bezier spline
Getting binary (base64) data from HTML5 Canvas (readAsBinaryString)

Is there any way of reading the contents of a HTML Canvas as binary data? At the moment I've got …

javascript html html5-canvas fileapi
Real time data graphing on a line chart with html5

I want to make a line chart that updates every couple of seconds and doesn't need the page to be …

javascript jquery html canvas html5-canvas