WebGL/three.js Resources

Eric runs across WebGL resources and then tend to lose track of them, so he made this page. Feel free to send him suggestions.

Browser-related

Does this browser support WebGL? Test here.
What WebGL extensions does this browser support? Test here, and here, and here, and here.
What browser versions support WebGL? Find out here.
What are the statistics on WebGL support for mobile devices and PCs? Find out here.
How do I start up my browser for local development? Chrome: --allow-file-access-from-files else check the three.js page or Udacity page.
What's my GPU info on Chrome? Paste in this URL: chrome://gpu/
How do I use native OpenGL instead of ANGLE for Windows Chrome and Firefox? Find out here.
What other command line options are there for Chrome? Find out here.
You just want eye candy? Try here for starters.

Reference Pages

Khronos Reference card
Khronos Wiki.
Blacklist of GPUs that don't run WebGL.
OpenGL ES Shading Language functions, used for WebGL/Three.js shaders.

Tools

Spector.js for examining renders and state. Documentation.
about:tracing in Google Chrome, for examining GPU and CPU usage.
Debuggers and profilers, profiling tips, browser editors, Cozzi's list (old)
Firefox Canvas Debugger
Shader compile/link performance
Chrome shader editor
Texture Format Tester
Analyzing traces

Courses and Tutorials

WebGL Fundamentals and WebGL2 Fundamentals have numerous articles on getting started and specific subjects.
The book Discover Three.js has an extensive, up-to-date introduction to three.js online for free.
Udacity three.js MOOC course signup, resources, and syllabus
Barcelona MOOC course homepage
WebGL Lessons: Three.js Shaders on github
David Scott Lyons' amazing slideset intro to Three.js
Steven Wittens' lovely computer graphics lessons using Three.js, and WebGL intro demofest
Tarek Sherif's tutorial slide presentation and repository.
SIGGRAPH University introduction to WebGL

Developer List

Google Groups WebGL Dev List

Three.js

Homepage, Lee Stemkoski's demos, Yomotsu examples
Introductory tutorial from upcoming book
Quick reference, API, wiki docs, object overview
Thumbnails of examples
useful links page
Demos: Google+, at Learning Three.js, curated gallery, Edan Kwan, Fractal Fantasy, lmv.rocks
Twitter news: #threejs, #webgl
Reddit: three.js, WebGL
Source code
Editor
Intro "live" slideset (and my own fork), basics article.

Other Frameworks

Shadertoy - play with, test, and share procedural shaders
OSG.JS - used by Sketchfab and others; examples
babylon.js
glslify - for shaders
PlayCanvas
WebGLStudio.js
Goo Create - for game creation
A-FRAME - for VR, built atop three.js
Cesium - for globes and maps
deck.gl - by Uber, for large data set visualization
Still more options
Wikipedia list

File Formats

glTF

Compression

Open3DGC
OpenCTM
Draco

WebGL 2

Does this browser support WebGL 2? Test here.
What percentage of various systems support WebGL 2 and its various extensions? Check here.
Khronos Reference card
Specification, related OpenGL ES 3.0 specification
How to start using WebGL 2.
New features in WebGL 2.
Samples and examples, and bugs.
PicoGL.js - a minimal WebGL 2 rendering library; tutorial
Fun with WebGL 2.0 - short tutorial videos, code repository, and blog
SIGGRAPH WebGL BOF videos: 2016, 2017, 2018
Brandon Jones' blog
How Cesium creates a WebGL 2 context

WebVR

WebVR info page

More Links

Just can't get enough? Here are more on WebGL and many other subjects.

Books

An undifferentiated listing of what I've found out there, though not exhaustive - I avoid "web technology" compendiums ("Learn Three.js, WebGL, HTML 5, and everything else in 24 Hours!") and books with no ratings and little information about them. Books are newest to oldest, and those older than five years old have been removed. Some books do come with free sample chapters and code samples (or the whole volume!), and some have extensive samples on Amazon or Google Books, linked.

cover DISCOVER three.js, by Lewy Blue, to be released 2019 (Table of Contents, first two chapters).
cover Real-Time 3D Graphics with WebGL 2, Second Edition, by Farhad Ghayour and Diego Cantor, Packt Publishing, October 2018 (Table of Contents, Google Books sample).
cover WebGL Gems, by Greg Sidelnikov, Learning Curve, June 2017 (Publisher page).
cover Learning Three.js: The JavaScript 3D Library for WebGL - Second Edition, by Jos Dirksen, Packt Publishing, March 2015 (Table of Contents and samples, runnable code, Github, Google Books sample).
cover download for free WebGL Insights, edited by Patrick Cozzi, CRC Press, July 2015 (book's website, blog), download for free.
cover Three.js Cookbook, by Jos Dirksen, Packt Publishing, January 2015 (Table of Contents and samples, runnable code, Github, Google Books sample).
cover Three.js Essentials, by Jos Dirksen, Packt Publishing, July 2014 (Table of Contents and samples, Github, Google Books sample).
cover Interactive Computer Graphics with WebGL (Seventh Edition), by Edward Angel and Dave Shreiner, Addison-Wesley, March 2014 (more info, figures and source code).

Thanks to Patrick Cozzi for collecting many of the links to tools.


Contact: Eric Haines