21
INTRODUCTION TO PROCESSING A data visualization tool BY: Tian LAN The University of Hong Kong 2013-10-10

Introduction to Processing

  • Upload
    siufu

  • View
    115

  • Download
    2

Embed Size (px)

DESCRIPTION

Introduction to Processing By Lan Tian @ 17/10/2013

Citation preview

Page 1: Introduction to Processing

INTRODUCTION TO PROCESSING

A data visualization tool

BY: Tian LAN

The University of Hong Kong

2013-10-10

Page 2: Introduction to Processing

OUTLINE• WHY

• WHAT

• HOW

• CONCLUSION.

Page 3: Introduction to Processing

Why Processing?

Page 4: Introduction to Processing

Why processing?• Data-driven research

• Visualizing -> Data mining;

• Sensible City Lab @ MIT (Personally).• Case: Live Singapore!

• Real time data: Phone calls and text message activities; bus transit data; taxi trajectories; weather condition; airlines and shipment flows.

• Put city and people under lens of data

Page 5: Introduction to Processing

Video demo

Page 6: Introduction to Processing

What is Processing?

Page 7: Introduction to Processing

Three perspectives of Processing• A language view• An IDE view• A community view

Page 8: Introduction to Processing

Three perspectives of Processing• A language view

• O-O, Java “family”.• Data type: primitive, composite• Input: mouse and keyboard events, file.

• tablets and devices (Leap Motion, Kinect…)

• Graphics and renders: 2D/3D, shape, shaders, camera, light…• Math• …

• Reference

Page 9: Introduction to Processing

Three perspectives of Processing• A language view (backbone of a sketch)

• void setup() {• size(400, 400);• stroke(255);• }• • void draw() {• line(150, 25, mouseX, mouseY);• }• • void mousePressed() {• background(192, 64, 0);• }

Initializing work: canvas size, render mode,

parsing…

Loop work: updating, animation, …

User input: mouse event, …

Page 10: Introduction to Processing

Three perspectives of Processing• An IDE view

• Plug into Eclipse

Page 11: Introduction to Processing

Three perspectives of Processing• A community view (Reference)

Page 12: Introduction to Processing

Three perspectives of Processing• A community view (None of our business?)

• Unfolding map library• Geo-visualization;• More user interaction: multi-touch gestures;• Multi-map providers, tile-based map.• For Processing 1.5 only. • Shape file; GeoJASON file.

Page 13: Introduction to Processing

Three perspectives of Processing• A community view (None of our business?)

• Unfolding map + TileMill

Page 14: Introduction to Processing

How to use Processing?

“Hello world”

Page 15: Introduction to Processing

Other selected solutions of visualizing data

Page 16: Introduction to Processing

A little bit thought

Technology or Art?

Page 17: Introduction to Processing

Image courtesy of Data Visualization Laboratory

Page 19: Introduction to Processing

Liqui Data

Video demo

Page 20: Introduction to Processing

Recommended online resources:

• http://datavlab.org (Not accessible on Oct. 16)

• http://www.civn.cn (Currently not available; server down)

• Onformative studio

• http://www.visualisingdata.com/index.php/resources/

• 视物致知

Page 21: Introduction to Processing