Coming soon... 3D without plugins

WebGL. OK, what is it...

Alternatives?

Didn't it take years to get html5?

Microsoft resistance?

Processing.js as a WebGL framework

Features, recommendations

Is the restaurant on the ridge?

...or in the valley?

Matrix stack

consider a robot

I wanted eye-popping 3d

Think multiple platforms

You blinked!

Websocket connection

  websock = new WebSocket("ws://localhost:8080");
  websock.onopen = function(evt) {
    console.log("opened websocket")
    websock.send("Hello Web Socket!");
  };
  websock.onmessage = function(evt) {
    console.log("received message " + evt.data);
  };
  websock.onclose = function(evt) {
    console.log("I really should try to connect again");
  };
            

Eventmachine

 require 'em-websocket'
 
 EventMachine::WebSocket.start(:host => "0.0.0.0", :port => 8080) do |ws|
  ws.onopen    { ws.send "Hello Client!"}
  ws.onmessage { |msg| ws.send "Pong: #{msg}" }
  ws.onclose   { puts "WebSocket closed" }
 end
            

run...

ProcessingJS prototyping

Grown-up WebGL

Shaders

SpiderGL examples

Summary

Questions