luma.gl
A WebGL JavaScript visualization library.
Last updated 7 years ago by deck.gl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install luma.gl 
SYNC missed versions from official npm registry.

version build downloads stars

luma.gl

luma.gl: A JavaScript WebGL2 Framework for Data Visualization

Overview

luma.gl's provides efficient and easy-to-use WebGL2-based building blocks enabling high-performance GPU-based data visualizations and computations on your browser.

See Examples and Documentation. Change Log.

luma.gl Design Goals

High Level Design Goals

  • Focus on data visualization - While generic, luma.gl prioritizes features that enable efficient rendering of large data sets or that support improved visualization techniques. In practice this means that luma.gl is an early adopter of techniques like instanced rendering, WebGL2 and GPGPU techniques.
  • Celebrate WebGL Simplify the use of WebGL but do not hide it from the programmer. Learn luma.gl and you learn WebGL.
  • Simplification, not abstraction Provide an API that simplifies WebGL usage without hiding WebGL from the programmer. Abstractions are good but they should be built on top of luma.gl.

Secondary Design Goals:

  • Focus on Shader Programming - Let's efficiently create, organize and debug shader code.
  • Interoperability - No "magic" global state that gets in the way of interoperability. All components work with a standard WebGLRenderingContext and can used together with components from other frameworks (e.g. stackgl).
  • Debugging Built in support for debugging and profiling WebGL and GLSL shaders.

Usage

History

luma.gl started out as a fork of PhiloGL however no effort has been made to maintain compatibility with PhiloGL-based applications.

Installation

npm install luma.gl --save

Documentation, Lessons and Examples

Luma.gl comes with 16 lessons, a number of examples, and a full set of reference documenation.

To run examples:

git clone git@github.com:uber/luma.gl.git
cd luma.gl
npm install
npm start

This builds the luma.gl bundle, starts a small local server, and opens a browser window on a welcome page, allowing you to run to all lessons and examples.

Developing

Use npm start to run the test server, it will open a web page from which you can access the examples and lessons, and automatically update when you save modified source files.

Testing

Testing is performed on Travis CI and using a precommit hook. Local testing is supported on three environments

  • npm test - runs npm run test-headless
  • npm run test-browser - Tests in your browser, may be helpful to quickly debug test case failures since it autoreloads on changes and gives you full access to your browser's debugger.

When adding new features, or modifying existing ones, carefully consider if unit testing can be provided.

Current Tags

  • 7.4.0-alpha.2                                ...           beta (5 years ago)
  • 7.3.2                                ...           latest (5 years ago)

240 Versions

  • 7.3.2                                ...           5 years ago
  • 7.4.0-alpha.2                                ...           5 years ago
  • 7.3.1                                ...           5 years ago
  • 7.4.0-alpha.1                                ...           5 years ago
  • 7.3.0                                ...           5 years ago
  • 7.3.0-beta.4                                ...           5 years ago
  • 7.3.0-beta.3                                ...           5 years ago
  • 7.3.0-beta.2                                ...           5 years ago
  • 7.3.0-beta.1                                ...           5 years ago
  • 7.3.0-alpha.9                                ...           5 years ago
  • 7.3.0-alpha.8                                ...           5 years ago
  • 7.3.0-alpha.7                                ...           5 years ago
  • 7.3.0-alpha.6                                ...           5 years ago
  • 7.3.0-alpha.5                                ...           5 years ago
  • 7.3.0-alpha.4                                ...           5 years ago
  • 7.3.0-alpha.3                                ...           5 years ago
  • 7.3.0-alpha.2                                ...           5 years ago
  • 7.3.0-alpha.1                                ...           5 years ago
  • 7.2.0                                ...           5 years ago
  • 7.2.0-beta.1                                ...           5 years ago
  • 7.2.0-alpha.6                                ...           5 years ago
  • 7.2.0-alpha.5                                ...           5 years ago
  • 7.2.0-alpha.4                                ...           5 years ago
  • 7.2.0-alpha.3                                ...           5 years ago
  • 7.2.0-alpha.2                                ...           5 years ago
  • 7.2.0-alpha.1                                ...           5 years ago
  • 7.1.1                                ...           5 years ago
  • 7.1.0                                ...           5 years ago
  • 7.1.0-beta.1                                ...           5 years ago
  • 7.0.3                                ...           5 years ago
  • 7.1.0-alpha.5                                ...           5 years ago
  • 7.1.0-alpha.4                                ...           5 years ago
  • 7.1.0-alpha.3                                ...           5 years ago
  • 7.1.0-alpha.2                                ...           5 years ago
  • 7.0.2                                ...           5 years ago
  • 7.1.0-alpha.1                                ...           6 years ago
  • 7.0.1                                ...           6 years ago
  • 7.0.0                                ...           6 years ago
  • 7.0.0-rc.3                                ...           6 years ago
  • 7.0.0-rc.2                                ...           6 years ago
  • 7.0.0-rc.1                                ...           6 years ago
  • 7.0.0-beta.9                                ...           6 years ago
  • 7.0.0-beta.8                                ...           6 years ago
  • 7.0.0-beta.7                                ...           6 years ago
  • 7.0.0-beta.6                                ...           6 years ago
  • 7.0.0-beta.5                                ...           6 years ago
  • 7.0.0-beta.4                                ...           6 years ago
  • 7.0.0-beta.3                                ...           6 years ago
  • 7.0.0-beta.2                                ...           6 years ago
  • 7.0.0-beta.1                                ...           6 years ago
  • 7.0.0-alpha.25                                ...           6 years ago
  • 7.0.0-alpha.24                                ...           6 years ago
  • 7.0.0-alpha.23                                ...           6 years ago
  • 7.0.0-alpha.22                                ...           6 years ago
  • 7.0.0-alpha.21                                ...           6 years ago
  • 7.0.0-alpha.20                                ...           6 years ago
  • 7.0.0-alpha.19                                ...           6 years ago
  • 7.0.0-alpha.18                                ...           6 years ago
  • 7.0.0-alpha.17                                ...           6 years ago
  • 7.0.0-alpha.16                                ...           6 years ago
  • 7.0.0-alpha.15                                ...           6 years ago
  • 7.0.0-alpha.14                                ...           6 years ago
  • 7.0.0-alpha.13                                ...           6 years ago
  • 6.4.3                                ...           6 years ago
  • 7.0.0-alpha.12                                ...           6 years ago
  • 6.4.2                                ...           6 years ago
  • 7.0.0-alpha.11                                ...           6 years ago
  • 7.0.0-alpha.10                                ...           6 years ago
  • 6.4.1                                ...           6 years ago
  • 7.0.0-alpha.9                                ...           6 years ago
  • 7.0.0-alpha.8                                ...           6 years ago
  • 6.4.0                                ...           6 years ago
  • 6.4.0-alpha.3                                ...           6 years ago
  • 7.0.0-alpha.7                                ...           6 years ago
  • 6.4.0-alpha.2                                ...           6 years ago
  • 7.0.0-alpha.6                                ...           6 years ago
  • 7.0.0-alpha.5                                ...           6 years ago
  • 7.0.0-alpha.4                                ...           6 years ago
  • 6.4.0-alpha.1                                ...           6 years ago
  • 7.0.0-alpha.3                                ...           6 years ago
  • 7.0.0-alpha.2                                ...           6 years ago
  • 6.3.2                                ...           6 years ago
  • 6.3.1                                ...           6 years ago
  • 7.0.0-alpha.1                                ...           6 years ago
  • 6.3.0-alpha.3                                ...           6 years ago
  • 6.3.0                                ...           6 years ago
  • 6.3.0-beta.2                                ...           6 years ago
  • 6.3.0-beta.1                                ...           6 years ago
  • 6.3.0-alpha.2                                ...           6 years ago
  • 5.3.1                                ...           6 years ago
  • 6.3.0-alpha.1                                ...           6 years ago
  • 6.2.0                                ...           6 years ago
  • 6.2.0-beta.4                                ...           6 years ago
  • 6.2.0-beta.2                                ...           6 years ago
  • 6.1.1                                ...           6 years ago
  • 6.2.0-alpha.1                                ...           6 years ago
  • 6.1.0                                ...           6 years ago
  • 6.1.0-beta.4                                ...           6 years ago
  • 6.1.0-beta.3                                ...           6 years ago
  • 6.1.0-beta.2                                ...           6 years ago
  • 6.1.0-beta.1                                ...           6 years ago
  • 6.1.0-alpha.3                                ...           6 years ago
  • 6.0.1                                ...           6 years ago
  • 6.1.0-alpha.2                                ...           6 years ago
  • 6.1.0-alpha.1                                ...           6 years ago
  • 6.0.0                                ...           6 years ago
  • 6.0.0-rc.1                                ...           6 years ago
  • 6.0.0-beta.3                                ...           6 years ago
  • 6.0.0-beta.2                                ...           6 years ago
  • 6.0.0-beta.1                                ...           6 years ago
  • 6.0.0-alpha.7                                ...           6 years ago
  • 6.0.0-alpha.6                                ...           6 years ago
  • 6.0.0-alpha.5                                ...           6 years ago
  • 6.0.0-alpha.4                                ...           6 years ago
  • 6.0.0-alpha.3                                ...           6 years ago
  • 6.0.0-alpha.2                                ...           6 years ago
  • 6.0.0-alpha.1                                ...           6 years ago
  • 5.3.0                                ...           6 years ago
  • 5.3.0-rc.1                                ...           6 years ago
  • 5.3.0-alpha.6                                ...           6 years ago
  • 5.3.0-alpha.5                                ...           6 years ago
  • 5.3.0-alpha.4                                ...           6 years ago
  • 5.3.0-alpha.3                                ...           6 years ago
  • 5.3.0-alpha.2                                ...           7 years ago
  • 5.2.0                                ...           7 years ago
  • 5.3.0-alpha.1                                ...           7 years ago
  • 5.2.0-beta.2                                ...           7 years ago
  • 5.2.0-beta.1                                ...           7 years ago
  • 5.1.6                                ...           7 years ago
  • 5.2.0-alpha.11                                ...           7 years ago
  • 5.2.0-alpha.10                                ...           7 years ago
  • 5.1.5                                ...           7 years ago
  • 5.2.0-alpha.9                                ...           7 years ago
  • 5.2.0-alpha.8                                ...           7 years ago
  • 5.1.4                                ...           7 years ago
  • 5.2.0-alpha.7                                ...           7 years ago
  • 5.2.0-alpha.6                                ...           7 years ago
  • 5.2.0-alpha.5                                ...           7 years ago
  • 5.2.0-alpha.4                                ...           7 years ago
  • 5.1.3                                ...           7 years ago
  • 5.2.0-alpha.3                                ...           7 years ago
  • 5.2.0-alpha.2                                ...           7 years ago
  • 5.1.2                                ...           7 years ago
  • 5.2.0-alpha.1                                ...           7 years ago
  • 5.1.1                                ...           7 years ago
  • 5.1.0                                ...           7 years ago
  • 5.1.0-beta.2                                ...           7 years ago
  • 5.1.0-beta.1                                ...           7 years ago
  • 5.0.2                                ...           7 years ago
  • 5.0.1                                ...           7 years ago
  • 5.0.0                                ...           7 years ago
  • 5.0.0-beta.1                                ...           7 years ago
  • 4.1.0-beta.2                                ...           7 years ago
  • 4.0.6                                ...           7 years ago
  • 4.1.0-beta.1                                ...           7 years ago
  • 4.1.0-alpha.9                                ...           7 years ago
  • 4.1.0-alpha.8                                ...           7 years ago
  • 4.1.0-alpha.7                                ...           7 years ago
  • 4.1.0-alpha.6                                ...           7 years ago
  • 4.1.0-alpha.5                                ...           7 years ago
  • 4.0.5                                ...           7 years ago
  • 4.1.0-alpha.4                                ...           7 years ago
  • 4.0.4                                ...           7 years ago
  • 4.1.0-alpha.3                                ...           7 years ago
  • 4.0.3                                ...           7 years ago
  • 4.0.2                                ...           7 years ago
  • 4.1.0-alpha.2                                ...           7 years ago
  • 4.0.1                                ...           7 years ago
  • 4.1.0-alpha.1                                ...           7 years ago
  • 4.0.0                                ...           7 years ago
  • 4.0.0-beta.6                                ...           7 years ago
  • 4.0.0-beta.5                                ...           7 years ago
  • 4.0.0-beta.4                                ...           7 years ago
  • 4.0.0-beta.3                                ...           7 years ago
  • 4.0.0-beta.2                                ...           7 years ago
  • 4.0.0-beta.1                                ...           7 years ago
  • 4.0.0-alpha.14                                ...           7 years ago
  • 4.0.0-alpha.13                                ...           7 years ago
  • 4.0.0-alpha.12                                ...           7 years ago
  • 4.0.0-alpha.11                                ...           7 years ago
  • 4.0.0-alpha.10                                ...           7 years ago
  • 4.0.0-alpha.9                                ...           7 years ago
  • 4.0.0-alpha.8                                ...           7 years ago
  • 4.0.0-alpha.7                                ...           7 years ago
  • 4.0.0-alpha.6                                ...           7 years ago
  • 4.0.0-alpha.5                                ...           7 years ago
  • 4.0.0-alpha.3                                ...           7 years ago
  • 4.0.0-alpha.2                                ...           7 years ago
  • 4.0.0-alpha.1                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 3.0.0-beta.11                                ...           8 years ago
  • 3.0.0-beta.10                                ...           8 years ago
  • 3.0.0-beta.9                                ...           8 years ago
  • 3.0.0-beta.8                                ...           8 years ago
  • 3.0.0-beta.7                                ...           8 years ago
  • 3.0.0-beta.3                                ...           8 years ago
  • 3.0.0-alpha.4                                ...           8 years ago
  • 3.0.0-alpha.3                                ...           8 years ago
  • 3.0.0-alpha2                                ...           8 years ago
  • 3.0.0-alpha1                                ...           8 years ago
  • 2.10.4                                ...           8 years ago
  • 2.10.3                                ...           8 years ago
  • 2.10.2                                ...           8 years ago
  • 2.10.1                                ...           8 years ago
  • 2.10.0                                ...           8 years ago
  • 3.0.0-beta6                                ...           8 years ago
  • 3.0.0-beta5                                ...           8 years ago
  • 3.0.0-beta4                                ...           8 years ago
  • 3.0.0-beta3                                ...           8 years ago
  • 2.9.1                                ...           8 years ago
  • 2.9.0                                ...           8 years ago
  • 2.8.0                                ...           8 years ago
  • 3.0.0-beta2                                ...           8 years ago
  • 2.7.0                                ...           8 years ago
  • 2.6.0                                ...           8 years ago
  • 2.5.4                                ...           8 years ago
  • 2.5.3                                ...           8 years ago
  • 2.5.2                                ...           8 years ago
  • 2.5.1                                ...           8 years ago
  • 2.5.0                                ...           8 years ago
  • 3.0.0-beta1                                ...           8 years ago
  • 2.4.2                                ...           8 years ago
  • 2.4.1                                ...           8 years ago
  • 2.4.0                                ...           8 years ago
  • 2.3.1                                ...           8 years ago
  • 2.3.0                                ...           8 years ago
  • 2.2.0                                ...           8 years ago
  • 2.1.0                                ...           8 years ago
  • 2.0.0-beta8                                ...           8 years ago
  • 2.0.0-beta7                                ...           8 years ago
  • 2.0.0-beta6                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 2.0.0-beta5                                ...           8 years ago
  • 2.0.0-beta4                                ...           8 years ago
  • 2.0.0-beta3                                ...           8 years ago
  • 2.0.0-beta2                                ...           8 years ago
  • 2.0.0-beta1                                ...           8 years ago
  • 2.0.4-0                                ...           9 years ago
Downloads
Total 90
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 89
Dependencies (4)
Dev Dependencies (34)

© 2010 - cnpmjs.org x YWFE | Home | YWFE