I do admit I am a fan of games. So when I heard of WebGL and things it could do, I got a bit excited and started searching more info about it and of course, some examples.
WebGL has been around for some time now, but it started being more known the moment the canvas element was introduced to html5. I will try not to go into too much detail about it and try to keep it simple. Basically, it started being noticed a few years ago but it is still something in development.
How does it work? The canvas element is basically just a container on the page. There, a developer can “draw” almost anything he wants using WebGL. From simple lines and shapes to more complicated drawings and images. The coded needed though is on a low level (C like) so things might seem complicated at start.
There are a lot of examples on the internet of what one can achieve with it. The ones I will show you are some of my favorite ones.
Since I said I like games of course I will start off with an example of a game. http://operasoftware.github.com/Emberwind/
The game was ported on WebGL by Erik Möller. Try it out. What’s interesting is, some will say they don’t notice differences between using Flash or WebGL. The behavior is the same for a client. He gets to experience the game in the same way. But what is nice is that he doesn’t require plugins or anything else that could increase memory usage.
The next example I will show you is more of a video in which you have some control over where you look: http://www.ro.me/
Are you able to find the chrome logo?
This is an example that tries to show how we can make videos where people can have some control over what they see, where they look, etc. Pretty nice?
- Deviantart Muro
- Chrome Experiments
If you want to see more examples of WebGL, visit: http://www.chromeexperiments.com/tag/webgl/ . You can find a lot of interesting experiment that involve WebGL. Which one do you think is really nice?
These are just some examples of what can be achieved using WebGL. To be honest, I really like the direction where it is heading but I think it still needs work and development. What do you think about WebGL?