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.

Rendering HTML elements to <canvas>

Is there a way to have an arbitrary HTML element rendered in a canvas (and then access its buffer...).

html html5-canvas
Scaling an image to fit on canvas

I have a form that allows a user to upload an image. Once the image is loaded, we perform some …

javascript html canvas html5-canvas
addEventListener for keydown on Canvas

I am trying to make a canvas app that responds to keyboard and mouse input. I have this code: canvas = …

javascript html canvas html5-canvas
Cropping images in the browser BEFORE the upload

Many libraries I have found, like Jcrop, do not actually do the cropping, it only creates an image cropping UI. …

javascript html html5-canvas
Add canvas to a page with javascript

I am trying to use Javascript in order to add a canvas to one page which originally does not have …

javascript html canvas html5-canvas add
Save canvas as jpg to desktop

I am trying to save an image (JPEG) to the desktop from an HTML5canvas. I can open in a …

javascript html canvas html5-canvas
Resize a Base-64 image in JavaScript without using canvas

I need a way to resize pictures in JavaScript without using a HTML element. My mobile HTML app captures photos …

javascript canvas resize html5-canvas base64
How to free up the memory in JavaScript

I'm working with canvas and its ImageData object which contains a huge amount of data (millions of integers). So working …

javascript arrays memory-management html5-canvas
How do I fix blurry text in my HTML5 canvas?

I am a total n00b with HTML5 and am working with the canvas to render shapes, colors, and text. …

javascript html html5-canvas
Is there any reason for using WebGL instead of 2D Canvas for 2D games/apps?

Is there any reason, except performance, for using WebGL instead of 2D-Canvas for 2D games/apps? In other word what 2…

html html5-canvas webgl