A WebGL visualization of global Twitter activity
-
Create a
config.json
file as described below, then run the following commands: -
Install dependencies
npm install
-
Start the server
node server.js
A config.json
must be provided in the root of the project.
Your Twitter consumer key.
Your Twitter consumer secret.
Your Twitter access token secret.
Show debug information. Logs every tweet to the console.
The port to run the server on. Overridden by the PORT
environment variable.
{
"consumer_key": "fsq4YbjfXuQWJRs01XatGR",
"consumer_secret": "lzXoLOGzxGYeItJ327BGSLcNmZcmPft62x0tHuZYmad",
"access_token_key": "35870660-0250Io0UYm5NHG6QgM7bq7h9aChvA30FIBYV0j1q,",
"access_token_secret": "RFabG3sgMgg9DlwoWRZrQRIizQZultYvo2Ek9C0Xp",
"debug": false,
"port": 8080
}
- Concept, globe, and initial code by Aysegul Yonet
- Heatmap and streaming server by Larry Davis
- Earth textures by James Hastings-Trew
- three.js: 3D library
- Socket.IO: Client and server for WebSockets
- webgl-heatmap: Heatmap drawn with WebGL shaders
- node-twitter: Twitter library for Node.js
BSD license, Copyright © 2013 Aysegul Yonet