أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
What do you know about Canvas in HTML5, and where to use it.
The canvas element is part of HTML5 and allows for dynamic, scriptable rendering of2D shapes and bitmap images. It is a low level, procedural model that updates a bitmap and does not have a built-in scene graph.
HTML5 defines the <canvas> element as “a resolution-dependent bitmap canvas which can be used for rendering graphs, game graphics, or other visual images on the fly.” A canvas is a rectangle in your page where you can use JavaScript to draw anything you want.
The HTML5 <canvas> element is used to draw graphics, on the fly, via scripting (usually JavaScript).
The <canvas> element is only a container for graphics. You must use a script to actually draw the graphics.
Read more here:
http://www.w3schools.com/html/html5_canvas.asp
http://www.html5canvastutorials.com/
videos here:
http://thenewboston.org/watch.php?cat=43&number=35