This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Canvas/WebGL + js


The Html(5) canvas element is a place to render stuff on a webpage, the graphics are scripted using Javascript.

While the Html5 specification provides a 2D interface, the WebGL API provides for 3D rendering also via Javascript.

This Task will be used to discuss this.

http://www.khronos.org/files/webgl/webgl-reference-card-1_0.pdf

Example

http://cycleblob.com/  - implemented using WebGL and HTML 5 canvas elements and is written completely in JavaScript.

Links

http://www.chromeexperiments.com/webgl/?f=webgl
http://www.ro.me/tech/
http://alteredqualia.com/

Task Discussion