- 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
- Basic shape created in GeoJSON.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"installed_packages": | |
[ | |
"Alignment", | |
"Base16 Color Schemes", | |
"ColorPicker", | |
"GitGutter", | |
"Gutter Color", | |
"HTML-CSS-JS Prettify", | |
"InactivePanes", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"name": "Performance", | |
"project": "vizicities", | |
"id": "vizicities/Performance", | |
"environment": { | |
"type": "noflo-browser" | |
}, | |
"changed": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* globals window, _, VIZI, d3, THREE */ | |
(function() { | |
"use strict"; | |
/** | |
* Blueprint OBJ output | |
* @author Robin Hawkes - vizicities.com | |
*/ | |
// output: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var csvConfig = { | |
input: { | |
type: "BlueprintInputCSV", | |
options: { | |
path: "./data/some.csv" | |
} | |
}, | |
output: { | |
type: "BlueprintOutputDebugPoints", | |
options: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Usage: | |
// `{{img_url feature_image}}` | |
// `{{img_url profile_image absolute="true"}}` | |
// Note: | |
// `{{img_url}}` - does not work, argument is required | |
// | |
// Returns the URL for the current object scope i.e. If inside a post scope will return image permalink | |
// `absolute` flag outputs absolute URL, else URL is relative. | |
const url = require('url'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//MIT License | |
//Copyright (c) 2021 Felix Westin | |
//Source: https://github.com/Fewes/MinimalAtmosphere | |
//Ported to GLSL by Marcin Ignac | |
#ifndef ATMOSPHERE_INCLUDED | |
#define ATMOSPHERE_INCLUDED | |
// ------------------------------------- |
OlderNewer