Chevron Down
Table of Contents
Chevron DownGetting Started
Chevron DownAPI Reference

Overview is a set of Javascript components for the WebGL2 API in modern browsers.


These docs are for Looking for an older version?

Philosophy's core philosophy is to expose the WebGL 2 API to developers, while providing fallbacks to WebGL 1 when necessary. The core use case for is visualization of large datasets, but its design is generic enough for more general usage. Key aspects of that philosphy are:

  • A WebGL2-first API - enables applications to code using the latest WebGL2 APIs and write their shaders in the latest GLSL 3.00 ES syntax, and (as far as possible) transparently keeps your application backwards compatible with WebGL1 (using WebGL extensions, shader transpilation and other techniques).
  • Expose WebGL2 to Programmers - while many WebGL frameworks make efforts to hide and wrap the WebGL2 API, intentionally exposes it, providing JavaScript classes corresponding to WebGL objects defined in the WebGL2 Specification.
  • Simplify use of the WebGL2 API - Using the raw WebGL API is notoriously verbose and fiddly.'s classes provide the standard WebGL2 objects and methods, but take care of all the tedious default parameters and object bindings behind the scenes.
  • Shader Programming -'s shadertools is a GLSL module system that provides extensive facilities for developing, modularizing, debugging and profiling GLSL shaders.
  • Performance First - has strong focus on performance, which includes a preference for providing APIs on lower abstraction levels than some popular WebGL frameworks, and an emphasis of using features such as instanced rendering for large data sets.
  • Doing Computations on the GPU - A focus on use cases like GPU based computing using transform feedback, and other WebGL2 and GPGPU techniques.

History was originally created in late 2015 as a fork of PhiloGL to provide high performance WebGL rendering capability for - a 3D visualization framework for large scale data. As became increasingly popluar, saw heavier usage.

WebGL 2 introduced several powerful features related to general purpose GPU usage (GPGPU) and reducing driver overhead for drawing massive numbers of objects, both of significant interest in the domain of geospatial visualization. is built to expose these new features, while providing polyfills wherever possible when falling back to WebGL 1.

Today, is the core 3D rendering library in the framework suite.

Comparison with other WebGL frameworks is a strong choice if the following are priorities:

  • Low-level access to WebGL 2 constructs: programs, shaders, buffers, etc.
  • Access to the WebGL 2 API, with seamless fallbacks to WebGL 1 for functionality that can be polyfilled via, for example, WebGL 1 extensions.
  • A focus on drawing large number of objects with minimal overhead.

Note, however that is not a complete game engine or scenegraph library, as its priority is to provide low-level access to the GPU. There is some support for higher-level abstractions like a Model class and a scenegraph, but these are relatively thin layers over core WebGL constructs.

For some powerful examples of what can be achieved with, take a look at, and


We share information about the direction of in the following ways:

  • RFCs - RFCs are technical writeups that describe proposed features in upcoming releases.
  • Roadmap Document - (this document) A high-level summary of our current direction for future releases.
  • Blog - We use the blog to share information about what we are doing.
  • Github Issues - The traditional way to start or join a discussion.