18
New Tools for Visualization in JavaScript Nicolas Garcia Belmonte - @philogb - Sept. 2011

New Tools for Visualization in JavaScript - Sept. 2011

  • Upload
    philogb

  • View
    2.855

  • Download
    0

Embed Size (px)

Citation preview

Page 1: New Tools for Visualization in JavaScript - Sept. 2011

New Tools for Visualization in JavaScript

Nicolas Garcia Belmonte - @philogb - Sept. 2011

Page 3: New Tools for Visualization in JavaScript - Sept. 2011

I’m the author of two JavaScript data visualization frameworks.

PhiloGL JavaScript InfoVis Toolkit

Page 4: New Tools for Visualization in JavaScript - Sept. 2011

JavaScript InfoVis Toolkit

• Web Based Interactive Data Visualizations

• Wide Range of Visualizations

• Focused on Performance

• Cross Browser/Device Support

Page 5: New Tools for Visualization in JavaScript - Sept. 2011

JavaScript InfoVis Toolkit

• JavaScript + 2D Canvas

• IE < 9 Support via ExCanvas or FlashCanvas

• Mobile (iOS, Android) Support

Under The Hood

Page 6: New Tools for Visualization in JavaScript - Sept. 2011

JavaScript InfoVis Toolkit

Examples

Page 7: New Tools for Visualization in JavaScript - Sept. 2011

JavaScript InfoVis Toolkit

• The White House

• Mozilla

• Google

• The Guardian

• Al-Jazeera

A Hands-On Toolkit

... all use InfoVis!

Page 8: New Tools for Visualization in JavaScript - Sept. 2011

JavaScript InfoVis Toolkit

• In 2010 the Toolkit was acquired by the Sencha Labs Foundation.

• In 2011 the Toolkit was part of Google Summer of Code.

Page 10: New Tools for Visualization in JavaScript - Sept. 2011

JavaScript InfoVis ToolkitWhere do I get it ?

http://thejit.org/

Page 11: New Tools for Visualization in JavaScript - Sept. 2011

PhiloGL

• WebGL Powered Visualization Framework

• Handles Big Datasets ( > 100K elems )

• Idiomatic JavaScript

• Rich Module System

Model courtesy of Nicolas Kassis - McGill Univ.

Page 13: New Tools for Visualization in JavaScript - Sept. 2011

Idiomatic JavaScript //Create application PhiloGL('canvasId', { program: { from: 'uris', vs: 'shader.vs.glsl', fs: 'shader.fs.glsl' }, camera: { position: { x: 0, y: 0, z: -50 } }, textures: { src: ['arroway.jpg', 'earth.jpg'] }, events: { onDragMove: function(e) { //do things... }, onMouseWheel: function(e) { //do things... } }, onError: function() { alert("There was an error creating the app."); }, onLoad: function(app) { /* Do things here */ } });

Page 14: New Tools for Visualization in JavaScript - Sept. 2011

Idiomatic JavaScript

app.glapp.canvasapp.cameraapp.sceneapp.eventsapp.programapp.texturesapp.framebuffersapp.renderbuffers

Page 15: New Tools for Visualization in JavaScript - Sept. 2011

• Core

• Math

• WebGL

• Program

• Shaders

• O3D

• Camera

• Scene

• Event

• Fx

• IO

• Workers

Module System

Page 17: New Tools for Visualization in JavaScript - Sept. 2011

PhiloGLWhere do I get it ?

http://senchalabs.github.com/philogl/

Page 18: New Tools for Visualization in JavaScript - Sept. 2011

Thanks!

Nicolas Garcia Belmonte

http://philogb.github.com/@philogb