Tutorials
< JavaScript
< Web Production
< davenewbold
Get flash to fully experience Pearltrees
People in boardrooms across the world love a good graph. They go nuts for PowerPoint, bullet points and phrases like “run it up the flagpole,” “blue-sky thinking” and “low-hanging fruit,” and everything is always “moving forward.”
Welcome!
<canvas> is an HTML element which can be used to draw graphics using scripting (usually JavaScript ). It can, for instance, be used to draw graphs, make photo compositions or do simple (and not so simple ) animations. The image on the right shows some examples of <canvas> implementations which we will see later in this tutorial. <canvas> was first introduced by Apple for the Mac OS X Dashboard and later implemented in Safari and Google Chrome. Gecko 1.8-based browsers, such as Firefox 1.5, also support this element.