O'Reilly

9 Mind-Blowing WebGL Demos

By on  

As much as developers now loathe Flash, we're still playing a bit of catch up to natively duplicate the animation capabilities that Adobe's old technology provided us.  Of course we have canvas, an awesome technology, one which I highlighted 9 mind-blowing demos.  Another technology available for intense web animation is WebGL. WebGL brings a whole new dimension to canvas animation and gaming. Here are nine jaw-dropping demos which will restore your faith in client-side vector graphic animation.

1. Chrome World Maze

Chrome World Maze is one of the flagship Chrome experiments.  With Chrome World Maze, you use your desktop device as the display and your mobile phone (with Chrome browser) as the controller.  The maze is any website which you'd like to roll around;  that's right, you roll around a 3D version of a website.  Outstanding!

Chrome World Maze

2.  Optic Flow

The Optic Flow demo uses the device camera to detect movement and splash a series of dots around the movement.  The more movement, the more animated dots.  For ultimate fun, make thrashing movements in front of your camera to get maximum reward.

Optic Flow

3.  Roll It

Roll it is your classic skee ball game demo.  Much like the Chrome World Maze demo, this demo also uses the desktop screen as the display with your mobile device as the controller.  Swing your arm and mobile device (much like a wii controller), and you'll see the ball scream up the board.  Happy rolling!

Skee Ball

4.  Cube Slam

Ever wanted to play a 3D pong game against a lonely bear?  Cube slam gives you that chance.  Cube slam even allows you to play a friend, provided you give them a link to sync up.

Cube Slam

5.  Ironbane MMO

Ironbane is a 3D platform game that switches perspective as you move around a level.  The smoothness in animation is incredible and responsiveness;  Ironbane is exactly what a HTML5 game should be.

Ironbane

6.  Pearl Boy

If you're ever in need of a few moments of solitude and pleasant thought, load up Pearl Boy.  This beautiful demo is simple -- direct a boy on his boat to row around a beautiful sea with a nice sunset in the background. Ahhhhh, code-powered web relaxation.

Pearl Boy

7.  WebCam Mesh

The WebCam Mesh demo is incredible.  This demo utilizes the user's camera to create an animated, pulsating mesh image of the user.  You wont believe how incredibly smooth and fascinating this masterwork is.

WebCam Mesh

8.  Pitts Demo

Pitts demo is an awesome, accelerated 3D flight game.  Like the other game demos I've shown, the physics of this game are incredible.  You can roll, slow down, accelerate, and crash!

Pitts Air Demo

9.  Pixelate

Pixelate is another camera-based demo, tracking the user's movements and displaying green pixels as object outlines.  This demo even mimics sound (try increasing and decreasing the volume, if on a Mac).

Pixelate

WebGL allows for even more powerful graphic creation and animation.  A few of the items above are massively impressive games, lending promise to HTML5 gaming's future on both desktop and mobile (Firefox OS!).  I hope you enjoyed them as much as I did!

Disclaimer:  I'm not responsible for melted processors or lost work due to instant crash.
O'Reilly Velocity Conference
Save 20% with discount code AFF20

Recent Features

Incredible Demos

  • Use Elements as Background Images with -moz-element

    We all know that each browser vendor takes the liberty of implementing their own CSS and JavaScript features, and I'm thankful for that. Mozilla and WebKit have come out with some interesting proprietary CSS properties, and since we all know that cementing standards...

  • MooTools Link Fading

    We all know that we can set a different link color (among other properties) on the hover event, but why not show a little bit more dynamism by making the original color fade to the next? Using MooTools 1.2, you can achieve that effect. The MooTools...

Discussion

  1. Life of Pi! Cool!!

    • John

      These are cool.
      Anyone happen to know of cam software that tracks the users face and or sound to animate onscreen images in real time.(often using an animals face so it looks like a puppy for instance is speaking) I’ve seen people using it and was informed its called webcam live or live webcam software(something like that)that comes with the cam device. I would love a link to the software if anyone knows of it, it may be from 2010 time frame.

  2. You should check out http://www.polycraftgame.com.

    Polycraft is one of 6 HTML5/WebGL games on Turbulenz.com and it is a 3D character action and tower defence strategy on the web.

    Another cool game on turbulenz.com is Save the Day. Check out this trailer: http://www.youtube.com/watch?v=yxa6bKIs-Cw

  3. Mind blowing :D (Y)

  4. Kannan

    Surface Shader (number 7) is explicitly stated to be non-WebGL, even in the screenshot you’ve posted.

  5. Laurent

    Just went through the link to the 9 canvas demos you provided, and the first example killed my chrome tab. Well… Nothing to do here ! Call me back when your technology is stable.

    • Could be that your processor and/or browser are the problem?

  6. These demos are so inspiring!

  7. Yota

    I forgot to mention that Polycraft (www.polycraftgame.com) is also running inside mobile browsers. It is not running perfectly but more sophisticated HTML5 will be coming to mobile phones very soon.

  8. Hey David!

    I just wanted to drop by to say thank you for putting Pearl Boy on this list. We’re really proud of the demo, and it together with the other awesome demos out there (many of them on your list) show off the true potential of using WebGL. I especially liked the webcam mesh demo.

    We’re letting developers into our closed alpha, so if I you’re a dev and you’d like to get your hands on this stuff I’d be happy to let you in. Just put “davidwalsh” into the text box when registering.

    Again, I’m super grateful for the feature. Thanks!

  9. Include this game in your article too. Quite interesting for what it does. It’s real-time multi-player Table Tennis using WebGL.

  10. Cube SLAM!

  11. The Farm demo is really mind-blowing!

    A big scene created to demonstrate the capabilities of the engine and WebGL technology. Over 25 hectares of land, a huge amount of buildings, animated animals and foliage including the ability of first-person walking, interacting with objects, driving a vehicle.

    http://www.blend4web.com/en/demo/farm/

  12. The Pitts Demo is really neat, remembers me so much to the PS1 days

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!

Recently on David Walsh Blog

  • Prevent Chrome from Translating a Page

    A while back I shared my favorite Google Chrome extension:  Google Art Project.  I've enjoyed seeing beautiful art when I open a new tab -- it's brought genuine happiness to my day, however small that happiness may be.  About a week ago, however, the art presented had...

  • Create Any Type Of Website With These Multi-Purpose Themes

    We have selected what we believe are the very best multipurpose WordPress themes on the market today. Our list contains a number of best sellers, several newcomers that are proving to be highly popular, and a few themes that are ideal for creating the types of...

  • An Introduction to Static Site Generators

    Static site generators seem to have been becoming more and more popular recently, but they’re not one of those ephemeral novelty things that grow in popularity as quickly as they fall into oblivion shortly after. For over a decade, many different projects — 394 of...

  • Automated Tests for Visual Responsive Layouts

    Today it's all about testing. In 2015, many developers knows about TDD and I personally think that testing is one of the key for quality products. But what about testing in a Front-end environment? How do you guys write your tests for a responsive page or...

  • Getting Dicey With Flexbox

    What if you could build complex CSS layouts in minutes? Flexbox is a new CSS layout spec that makes it easy to construct dynamic layouts. With flexbox, vertical centering, same-height columns, reordering, and direction agnosticism are a piece of cake. There's a popular myth floating around that...