Latest

Gauge.js

  • Tools
  • Posted on April 10th, 2009

Gauge.js allows you to add Apple-esque gauges (with shading and reflection) to your webpages. If you use a Mac or an iPod, these gauges will look familiar to you as they are similiar to the disk space allowance gauges.

Pretty gauges...

Pretty gauges...

Including it in your pages is simple. Just add a script include at the top of your site and then call it on a block level element using gauge.add(element).

View more information about the Gauge.js tool

JuicyDrop

  • Demos
  • Posted on April 9th, 2009

Jacob Seidelin has furthered his music visualisation idea with the release of JuicyDrop, which adds the MilkDrop plugin for Winamp to the previous canvas/JavaScript/Sound Manager 2 mix.

Check out those visuals!

Check out those visuals!

Simply select your song from the right hand menu to see the visualisation in action.

A few keyboard shortcuts may enhance your experience:

  • Z : switch to smaller (128×128) visualization view (in case of low framerate)
  • X : switch back to normal (256×256) view
  • D : Toggle rendering of deformation mesh points
  • 1 : Toggle basic waveform
  • 2 : Toggle custom waves
  • 3 : Toggle custom shapes
  • 4 : Toggle borders
  • 5 : Toggle per-pixel effects
  • 6 : Toggle video echo

Works on Chrome or Firefox 3, but Chrome works better.

View the JuicyDrop demo

CAKE – Canvas Animation Kit Experiment

  • Tools
  • Posted on April 8th, 2009

CAKE is a scenegraph library for the canvas tag. The CAKE library adds a few new features to the canvas tag, as well as fixing some previous problems and offering cross browser support to items which were previously single browser support.

The CAKE website features a demo page together with a Flash-style site (using CAKE intead of Flash) and a couple of games.

See the CAKE library in action

Starfield

  • Demos
  • Posted on April 7th, 2009

Christophe Résigné has created a starfield using the canvas element.

You can change direction by moving cursor over the windows, change/inverse speed with mouse-scroll and change stars amount by adding ?n= at the end of the url.

Lots of stars!

Lots of stars!

View the Starfield demo!

3bored

3bored is an interesting shooter/dodge ‘em up created by UpsideDownTurtle. Controlling a boxed shape spaceship, the idea is to dodge enemy fire while charging up your spacecraft to ground pound the enemy. As you progress through the levels, different enemy types and firepower appear making survival a much tougher job.

Ready, Aim, Fire!

Ready, Aim, Fire!

Your spacecraft is controlled with the cursor keys, with the space bar used to charge your attack (hold to charge, release to attack).

What tier can you get to?

Processing.js

  • Tools
  • Posted on April 5th, 2009

Not 1 but 146 demos today. John Resig, JavaScript guru and founder of the awesome jQuery library has ported the Processing visualization language to JavaScript, using the canvas element. With help from Casey Reas and Ben Fry they have created a lot of different demos using the library.

Processing.js

Processing.js

If you wish to only use the Processing API (not the language) you can interact with it like so:

var p = Processing(CanvasElement);
p.size(100, 100);
p.background(0);
p.fill(255);
p.ellipse(50, 50, 50, 50);

To use the full power of the language, you would pass in your Processing code as the second argument.

Processing(CanvasElement, "size(100, 100); background(0);" +
"fill(255); ellipse(50, 50, 50, 50);");

As for demos of the tool, there are 91 basic demos; 51 larger, topical, demos and 4 custom “in the wild” demos.

View the Processing tool

Welcome to Canvas Demos

Home to applications, games, tools and tutorials that use the HTML 5 <canvas> element - which allows for dynamic scriptable rendering of bitmap images.

Browser check

  • canvas
  • canvas text

It looks as though your browser does not support canvas natively. Why not try one of these browsers?

Learn more about canvas support

Canvas news

Site news

Submit your demo

Submit your demo, and if we like it we'll feature it on Canvas Demos!