- Manhattan with just basemap (different options)
- Manhattan with basic buildings and plain visual style
- Manhattan with buildings, roads, skybox and physically-based materials
- Play with the inclination settings
- Toggle the postProcessing option
- Manhattan with buildings colour-coded by height using chroma.js
- Manhattan with MTA routes overlaid alongside stylised buildings and OSM data
- Creating geometry inside QGIS or GeoJSON.io and outputting in ViziCities
View demos.md
View gist:2d5c99ff6f9b5472a072
var csvConfig = { | |
input: { | |
type: "BlueprintInputCSV", | |
options: { | |
path: "./data/some.csv" | |
} | |
}, | |
output: { | |
type: "BlueprintOutputDebugPoints", | |
options: {} |
View BlueprintOutputOBJ.js
/* globals window, _, VIZI, d3, THREE */ | |
(function() { | |
"use strict"; | |
/** | |
* Blueprint OBJ output | |
* @author Robin Hawkes - vizicities.com | |
*/ | |
// output: { |
View Performance.json
{ | |
"properties": { | |
"name": "Performance", | |
"project": "vizicities", | |
"id": "vizicities/Performance", | |
"environment": { | |
"type": "noflo-browser" | |
}, | |
"changed": true | |
}, |
View Package Controls.sublime-settings
{ | |
"installed_packages": | |
[ | |
"Alignment", | |
"Base16 Color Schemes", | |
"ColorPicker", | |
"GitGutter", | |
"Gutter Color", | |
"HTML-CSS-JS Prettify", | |
"InactivePanes", |
View gist:2558821
Images from <a href="https://github.com/mozilla/BrowserQuest">BrowserQuest</a> used under <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA 3.0</a>. |
View gist:1966511
var controller; | |
// Run When a gamepad is connected | |
function onGamepadConnected(e) { | |
controller = e.gamepad; | |
console.log("Gamepad connected", controller.id); | |
} | |
// Run on button change | |
function onGamepadButtonDown(e) { |
View twitter.js
// Reorder, rename, and document variables at some point | |
var sys = require("sys"), | |
twitter = require("ntwitter"), | |
mongoose = require("mongoose"), | |
db_user, | |
db_pass, | |
db_url, | |
db_port, | |
db_name, | |
coll, |