5 clever uses of the canvas tag

Feb 25
 
5 clever uses of the canvas tag

If there is one thing that really gets me exciting about the upcoming HTML 5 specification it’s the canvas tag. This relatively simple tag holds so much potential and power thanks to the strong well thought out JavaScript API available to manipulate what appears on the canvas.

I’ll be looking at 5 really ingenious implementations that are being used today on various websites and web apps.

5. Typeface.js

Typeface.js, render custom fonts using canvas

A great solution to use custom fonts on your websites without having to cut out the text as images. This generates JavaScript from an otf file which renders out the font using the canvas tag. Rendering text with Javascript, <canvas>, and VML

4. Box2DJS physics engine

Box2DJS - Physics Engine for JavaScript

This library is for recreating elements on a canvas that obey the laws of physics such as gravity and motion. Objects can interact with each other in a realistic manner. Physics Engine for JavaScript

3. Wolfenstein 3D

Nihilogic : Javascript Wolfenstein 3D

A great port of the classic Wolfenstein 3D done using nothing but javascript and canvas. Javascript Wolfenstein 3D

2. Yahoo pipes

Yahoo Pipes: Rewire the web

Yahoo pipes is a mash up tool for the less technical to build “pipes” or mashups of data pulled from various sources. Pipes uses the canvas tag to create connecting points between data sources and controls. The blue curvy line is done using canvas and its bezier abilities to curve lines.

Pipes is a powerful composition tool to aggregate, manipulate, and mashup content from around the web.

1. Mozilla labs Bespin

Mozilla Bespin » Code in the Cloud

By far the best implementation of canvas so far is Mozillas Bespin a web code editor which uses canvas to create it’s slick interface, without canvas Bespin would not be as responsive as it is even with thousands of lines of code.

Bespin is a Mozilla Labs experiment on how to build an extensible Web code editor using HTML 5 technology.

 
 

Post filed under: javascript, xhtml.

Skip to comment form.

Comments

  1. Very nice article. The web is changing reaaally fast!

    Oliver Mezquita, October 31st, 2009
  2. hey i want to know how can i use canvas tag . till now i dont know how can i use it pls help me if you tell me the basics of canvas tags. pls mail me

    amit tyagi, May 24th, 2010
  3. I needed canvas only for jscad.

    mooph, June 1st, 2010

Trackbacks

  1. [...] A complete set of methods supported by the 2D context can be seen from this page. Mozilla is hosting a basic example for using canvas element, where you can learn the canvas element’s basics. And to see what and all is possible with canvas element, check out 5 clever uses of canvas element. [...]

    HTML 5 Canvas element « Veerasundar, June 9th, 2009
  2. [...] (sorry voor het Engels) –SHOWCASE HTML5 Demos and Examples – beknopte lijst van demo's 5 clever uses of the canvas tag | The CSS Ninja – All things CSS, Javascript & xhtml – voorbeelden van het <canvas> element quake2-gwt-port – Project Hosting on Google Code – [...]

    HTML Het grote HTML 5 topic - 9lives - Games Forum, June 8th, 2010
  3. [...] Read more here [...]

    5 clever uses of the canvas tag | Html5 Components, July 14th, 2010
  4. [...] 5 Clever uses of the CANVAS tag – CSS Ninja [...]

    About Html5 | Web Design Effect, October 12th, 2010
  5. [...] 8. 5 Clever Uses of the Canvas Tag [...]

    HTML5 Canvas Graphing Solutions Every Web Developers Must Know | Web Designer Aid, February 1st, 2011
  6. [...] 5 clever uses of the canvas tag – [CSS] Ninja April 20, 2011 [...]

    The Art of Canvas « HTML5, April 21st, 2011
  7. [...] vs. Silverlight charts7. HTML5 Canvas Element Guide非常好的 HTML5 canvas 元素教程。8. 5 Clever Uses of the Canvas Tag5个基于 HTML5 canvas 元素实现的非常棒的应用。9. Canvas Demos使用 HTML5 canvas [...]

    18个基于 HTML 5 Canvas 开发的图表库 « Untitled (未名空间), June 8th, 2011

Leave a comment