WebGL based visualization layers
JavaScript GLSL CSS HTML
Latest commit 3a44c55 Jan 18, 2017 @shaojingli shaojingli committed on GitHub FP64 math function improvement (#286)
Fixed a bug that fp64 math occasionally fail to reach expected precision on some NVIDIA GPUs
Trade some accuracies in exp_fp64 for speed

* reduce the number items in Taylor expansion calculations of sin_fp64 and cos_fp64 to improve speed

* addressing review comments
Permalink
Failed to load latest commit information.
demo/src Make shaders customizable. Scatterplot32 instanceRadius, fixes #238. (#… Nov 30, 2016
dist-demo Replace glslify with brfs (#236) Nov 30, 2016
docs onLayerHover and onLayerClick return first match (#256) Dec 3, 2016
example Rebased to master Nov 30, 2016
exhibits Fix exhibits deps & configs Dec 20, 2016
shaderlib FP64 math function improvement (#286) Jan 19, 2017
src Merge pull request #288 from heshan0131/fix-blending-picking Jan 13, 2017
.babelrc Make shaders customizable. Scatterplot32 instanceRadius, fixes #238. (#… Nov 30, 2016
.eslintrc Lifecycle updates. Composite Layers. GeoJsonLayer skeleton. Doc updat… Oct 20, 2016
.gitattributes Add dist-demo to .gitattributes Nov 30, 2016
.gitignore Replace glslify with brfs (#236) Nov 30, 2016
.travis.yml Build on Node 6 & 7 (#242) Nov 30, 2016
CHANGELOG.md Correct React PropTypes usage for Layer and Effects props (#250) Dec 1, 2016
LICENSE initial commit Dec 17, 2015
README.md Typo in the readme (#294) Jan 17, 2017
experimental.js Rebased to master Nov 30, 2016
index.js Layer selector, Experimental Layers, Source tree cleanup and Viewport… Sep 19, 2016
package.json Merge pull request #254 from Apercu/exhibit Dec 3, 2016
react.js Lifecycle updates. Composite Layers. GeoJsonLayer skeleton. Doc updat… Oct 20, 2016
samples.js Add docs and reorganize files/directories. Demote HexagonLayer to sam… Oct 13, 2016
viewport.js Layer selector, Experimental Layers, Source tree cleanup and Viewport… Sep 19, 2016

README.md

version build downloads stars

deck.gl | Docs

A WebGL overlay suite for React providing a set of highly performant data visualization overlays

docs

Provides tested, highly performant layers for data visualization use cases, such as scatterplots, choropleths etc in 2 and 3 dimensions.

npm install --save deck.gl

Example

import DeckGL from 'deck.gl/react';
import {ArcLayer} from 'deck.gl';

const flights = new ArcLayer({
  id: 'flights',
  data: [] // Some flight points
});

<DeckGL width={1920} height={1080} layers={[flights]} />

A very simple usage of deck.gl is showcased in the exhibits directory, using both webpack and browserify, so you can choose which setup you prefer or are more familiar with.

You can also take a look at the docs website or browse directly the docs folder.

Developing

npm install
npm test
npm start

Node Version Requirement

Building deck.gl from source has a dependency on node 0.12 or higher. Either upgrade to a newest version, or install something like nvm.

Contributing

PRs and bug reports are welcome. Note that you once your PR is about to be merged, you will be asked to register as a contributor by filling in a short form.

Data sources

SF OpenData

TLC Trip Record Data

Mapzen