A WebGL cookbook

One common problem for people starting out in a new language is finding snippets of code to do specific simple tasks. A while back a friend of mine set up a “Cookbook” wiki to help people learning IronPython and it turned out to be very useful to a lot of people. So I’ve set up something similar for WebGL. It’s only got a few recipes so far, but I’ll be adding to it as I develop my tutorials – and if you have something you’d like to add, you’re very welcome to do so!

Here’s the link: http://learningwebgl.com/cookbook/index.php/Main_Page



Very nice, thank you.

Could you insert a section for the real begineers: “What you need to start” and so on…

It’s possible to use the webGL with the adobe actionscript 3?

Thank you very much
Best regards

Thank you!

I’m writing a series of lessons on the same site, but I see that there’s no link from the cookbook – whoops! I’ll fix that, but in the meantime here’s a direct link: http://learningwebgl.com/lessons/

I don’t think so. WebGL is basically JavaScript bindings for OpenGL ES 2.0.



So I use hi level language ( JavaScript ) and it changes those calls to some hardware calls via browser? and can we get full perfomance? Is there any documentation about that technical aspect?

Yup, that’s pretty much it!

Not quite sure what you mean here. There’s the WebGL spec here: https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html