Sunday, August 22, 2010

WebGL in Blogger Posts ~ Second Pass



You will need a browser that supports WebGL in order to view this demo.

Update: The specification changed has changed since this was written. The applet is not working for the moment.





Your browser doesn't appear to support the HTML5 <canvas> element.


Running WebGL inside a Blogger post.

1. Move all the sourcecode into body or remove all header, doctype, body tags etc.
2. Update the sources of external JavaScript routines so that they point to actual sources on accessible servers.
3. Move the start call from body onload to a "click me!" button.

From: https://developer.mozilla.org/en/WebGL/Creating_3D_objects_using_WebGL

No comments:

Post a Comment