SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
Web Workers Adding a worker
in main JS file var worker = new Worker('worker_script.js'); worker.onmessage = function(e){ // do some stuff when the worker sends a message } Tuesday, November 8, 2011
Web Workers Adding a worker
in worker_script.js //post your message to the requesting client postMessage(‘hello world’); Tuesday, November 8, 2011
WebGL Don’t worry, we have
libraries three.js Full WebGL , SVG & Canvas support PhiloGL Best documentation Tuesday, November 8, 2011
WebGL Support (as of Oct.
16) Opera 12+ Chrome 9 + Firefox 4 + Safari 5.1+ on Leopard, Snow Leopard or Lion Internet Explorer 10 ? Tuesday, November 8, 2011
WebGL What is our WebGL
future? A ton of terrible games... and some cool ones. ... oh really? Tuesday, November 8, 2011
Oct. 2011 Device API var
battery = new BatteryStatusEventSource(); http://www.w3.org/TR/2011/WD-‐battery-‐status-‐20110915/ Tuesday, November 8, 2011
Further reading on Web Workers
developer.mozilla.org/en/Using_web_workers on WebGL dev.opera.com/articles/tags/webgl on the Device API https://wiki.mozilla.org/WebAPI https://dev.w3.org/2009/dap Tuesday, November 8, 2011