Skip to content

Instantly share code, notes, and snippets.

View brett-miller's full-sized avatar

Brett Miller brett-miller

  • Expedia
  • Seattle
View GitHub Profile
@brett-miller
brett-miller / .block
Created May 23, 2017 23:02 — forked from mbostock/.block
Partition
license: gpl-3.0
height: 4980
/**
* @author Eberhard Graether / http://egraether.com/
*/
THREE.TrackballControls = function ( object, domElement ) {
var _this = this;
var STATE = { NONE: -1, ROTATE: 0, ZOOM: 1, PAN: 2, TOUCH_ROTATE: 3, TOUCH_ZOOM: 4, TOUCH_PAN: 5 };
this.object = object;
@brett-miller
brett-miller / .block
Created April 17, 2017 17:57 — forked from mbostock/.block
GeoJSON in Three.js
license: gpl-3.0
height: 960
border: no
@brett-miller
brett-miller / test.stl
Created April 17, 2017 17:49 — forked from bellbind/test.stl
[STL]test to upload STL file on gist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brett-miller
brett-miller / .block
Last active April 7, 2017 05:56 — forked from mbostock/.block
Contour Plot
license: gpl-3.0
height: 673
border: no
@brett-miller
brett-miller / .block
Created September 4, 2016 20:21 — forked from mbostock/.block
Dispatching Events
license: gpl-3.0
@brett-miller
brett-miller / .block
Last active July 25, 2016 16:59 — forked from mbostock/.block
Letter Frequency
license: gpl-3.0
@brett-miller
brett-miller / .block
Last active October 3, 2016 04:30 — forked from mbostock/.block
Screen Recording to GIF
license: gpl-3.0
@brett-miller
brett-miller / README.md
Last active December 31, 2015 08:16 — forked from mbostock/.block
Scatterplot
@brett-miller
brett-miller / README.md
Last active October 27, 2015 15:34 — forked from maartenzam/README.md
Fly over latitude parallel

My first experiment with Mapbox GL is a mock up of what astronauts in the ISS could see out of their window.

This map let's you fly over the latitude parallel of your choice. You can change

  • the baselayer (hybrid, streest of satellite)
  • the parallel you are flying over (pan left or right)
  • the zoom (+ and - in upper right corner)
  • rotation of view (the compass in the upper right corner)