Treehouse

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.
ydkjs-3.png

Recent Features

  • 5 Awesome New Mozilla Technologies You’ve Never Heard Of

    My trip to Mozilla Summit 2013 was incredible.  I've spent so much time focusing on my project that I had lost sight of all of the great work Mozillians were putting out.  MozSummit provided the perfect reminder of how brilliant...

  • Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each...

  • 9 Mind-Blowing Canvas Demos

    The <canvas> element has been a revelation for the visual experts among our ranks.  Canvas provides the means for incredible and efficient animations with the added bonus of no Flash; these developers can flash their awesome JavaScript skills instead.  Here...

Incredible Demos

  • Implementing Basic and Fancy Show/Hide in MooTools&nbsp;1.2

    One of the great parts of MooTools is that the library itself allows for maximum flexibility within its provided classes. You can see evidence of this in the "Class" class' implement method. Using the implement method, you...

  • Introducing MooTools&nbsp;ScrollSpy

    I've been excited to release this plugin for a long time. MooTools ScrollSpy is a unique but simple MooTools plugin that listens to page scrolling and fires events based on where the user has scrolled to in the page....

  • WebKit-Specific Style:&nbsp;-webkit-appearance

    I was recently scoping out the horrid source code of the Google homepage when I noticed the "Google Search" and "I'm Feeling Lucky" buttons had a style definition I hadn't seen before:  -webkit-appearance.  The value assigned to the style was...

Discussion

  1. Life of Pi! Cool!!

  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/

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

Use Code Editor