This is a curated list of awesome WebGL libraries, resources and much more.
WebGL (Web Graphics Library) is a JavaScript API for rendering interactive 3D computer graphics and 2D graphics within any compatible web browser without the use of plug-ins. WebGL is integrated completely into all the web standards of the browser allowing GPU accelerated usage of physics and image processing and effects as part of the web page canvas.
WebGL elements can be mixed with other HTML elements and composited with other parts of the page or page background. WebGL programs consist of control code written in JavaScript and shader code that is executed on a computer's Graphics Processing Unit (GPU).
All things dealing with WebGL
WebGL articles and/or blog posts (non-tutorials)
- Context Loss & Preloading - How to manage WebGL when you run into the dreaded context lost.
- WebGL Off the Main Thread - How to use Web Workers in WebGL.
Blog series of WebGL topics
- Codeflow - Many blogs on different tricks and techniques.
- Real-Time Rendering - This is the blog for the book Real-Time Rendering.
- WebGL Insights - This is the blog for the book WebGL Insights.
Popular books about WebGL
- Interactive Computer Graphics: A Top-Down Approach with WebGL by Edward Angel and Dave Shreiner - Suitable for undergraduate students in computer science and engineering, for students in other disciplines who have good programming skills, and for professionals interested in computer animation and graphics using the latest version of WebGL.
- Professional WebGL Programming by Andreas Anyuru - Everything you need to know about developing hardware-accelerated 3D graphics with WebGL.
- Programming 3D Applications with HTML5 and WebGL by Tony Parisi - Create high-performance, visually stunning 3D applications for the Web, using HTML5 and related technologies such as CSS3 and WebGL—the emerging web graphics standard.
- WebGL Beginner's guide by Diego Cantor and Brandon Jones - For JavaScript developer who wants to take the plunge into 3D web development via WebGL.
- WebGL Hotshot by Mitch Williams - For web designer looking to expand your knowledge of 3D graphics concepts and broaden your existing skill set.
- WebGL Insights by Patrick Cozzi - Presents real-world techniques for intermediate and advanced WebGL developers by assembling contributions from experienced WebGL engine and application developers, GPU vendors, browser developers, researchers, and educators.
- WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL by Kouichi Matsuda and Rodger Lea - WebGL Programming Guide will help you get started quickly with interactive WebGL 3D programming, even if you have no prior knowledge of HTML5, JavaScript, 3D graphics, mathematics, or OpenGL.
Online GLSL Editors
NOTE: WebGL must conform to The OpenGL ES Shading Language, Version 1.00
- Fractal Lab - Online fractal explorer allowing you to explore 2D and 2D fractal.
- GLSL Sandbox - Online live editor for fragment shaders.
- GLSLbin - Fragment shader sandbox supporting glslify.
- Shader Toy - Most popular live editor for fragment shaders.
- ShaderFrog - WebGL Shader Editor and Composer.
- SHDR Editor - Live GLSL shader editor, viewer and validator.
WebGL references
- Google Project ANGLE - Default WebGL backend for both Google Chrome and Mozilla Firefox on Windows platforms.
- Khronos Offical Wiki - The official wiki for WebGL.
- WebVR Community Group - Group who's goal is to help bring high-performance Virtual Reality to the open Web.
- WebGL Reference Card - WebGL 1.0 API Quick Reference Card for printing.
- WebGL Source Code - Source code to both view and contribute.
- WebGL Spec Sheet - All the detailed information about WebGL.
WebGL related talks
- List of Presentations - List presented by Khronos of various WebGL related presentations.
Tools for development and debugging WebGL
- Spector.js - Agnostic JavaScript framework for exploring and troubleshooting your WebGL scenes.
- WebGL Inspector - Tool inspired by gDEBugger and PIX with the goal of making the development of advanced WebGL applications easier.
- WebGl Playground - The editor lets you work on the JavaScript code and the GLSL vertex/fragment shaders (if you have any) at the same time in a convenient way. Everything is organized, formatted and highlighted properly, just as you would like.
- WebGL Report - Way to view the details of what your browser supports for WebGL.
- WebGL Support Stats - Interactive dashboard showing the support for WebGL features in different browsers and devices.
- WebGL Texture Tester - Attempts to load one of every texture format supported by WebGL, intended to quickly show which formats your browser/device supports.
- Web Tracing Framework - Set of libraries, tools, and visualizers for the tracing and investigation of complex web applications.
- GLSL Shader Editor Extension - Chrome DevTools extension to help you edit shaders live in the browser.
- Spector.js Extension - Explore and Troubleshoot your WebGL and WebGL2 scenes easily.
- Webgl Insight - Chrome extension WebGL debugging toolkit providing a variety of capabilities.
- Canvas Debugger - Quick tutorial how to use Firefox's developer tools to debug WebGL Shaders.
- Firefox Developer Tools - The offical list of all of Firefox's debugger tools.
- Shader Editor - Quick tutorial how to use Firefox's developer tools to debug WebGL Shaders.
Online WebGL Tutorials (non-video)
- Get Started Tutorial - Khronos' tutorial how to get up and running with WebGL.
- Getting Started with WebGL - Mozilla Foundation guide to getting started with WebGL.
- Learn WebGL - Tutorials Point set of article to get you familiar with WebGL terms.
- Learning WebGL - Tutorials from the author of WebGL Up and Running.
- The Book of Shaders - Gentle step-by-step guide through the abstract and complex universe of Fragment Shaders.
- WebGL Academy - Simplified online IDE with automatic indentation, syntax highlighting for HTML, Javascript, GLSL and Python. You can run your code and download your projects.
- WebGL Fundamentals - Series of online tutorials with code samples and live demonstrations.
WebGL Related Videos
- An Introduction to WebGL Programming - 3 hour overview of WebGL by SIGGRAPH University.
- WebGL Tutorials - YouTube - Series of lecture style video tutorials from Indigo Code on YouTube.
Information about the upcoming WebGL 2 specs
Anything pertaining to WebGL in general is found in the WebGL section
WebGL 2 articles and/or blog posts (non-tutorials)
- WebGL 2 What's New - Look into the new features added in WebGL 2.
- What's Coming in WebGL 2.0 - Look into the upcoming features of WebGL 2.
- WebGL 2 SIGGRAPH Asia 2015 - Presentation by Zhenyao Mo, Ken Russell of Google during SIGGRAPH Asia 2015.
- WebGL 2 Lands in Firefox - Information the support for WebGL 2 starting with Firefox 51.
- WebGL 2 Basics - Blog post about getting started with WebGL 2.
- WebGL 2 New Features - Blog post about whats new and cool in WebGl 2.
WebGL 2 references
- WebGL 2 Spec Sheet (Editor Draft) - All the detailed information about WebGL 2.
- WebGL 2 Reference Card - WebGL 2.0 API Quick Reference Card for printing.
- WebGL 2 Compatible Chart - Chart to show current browsers supporting WebGL 2
- WebGL 2 Fundamentals- Series of online tutorials with code samples and live demonstrations.
- WebGL 2 Samples - Great source of many different WebGL 2 work with very good commenting.
- WebGL 2 Examples - Rendering algorithms implemented in raw WebGL 2.
WebGL related Videos
- Fun with WebGL 2.0 - Video tutorial series on getting started with WebGL 2, still actively adding videos.
More detailed information about the different libraries can be found in the Libraries directory.
- glMatrix - Javascript matrix and vector library for high performance WebGL apps.
- Sylvester - Sylvester is a vector, matrix and geometry library for JavaScript.
- TWGL - Sole purpose is to make using the WebGL API less verbose.
- PicoGL.js - Minimal WebGL 2-only rendering library.
- A-Frame - Web framework for building virtual reality experiences.
- Ammo.js - Direct port of the Bullet physics engine to JavaScript using Emscripten.
- Babylon.js - Complete JavaScript framework for building 3D games with HTML5, WebGL and Web Audio.
- CopperLicht - JavaScript library and WebGL 3D engine for creating games and 3D applications.
- Cesium - Open-source library for world-class 3D globes and maps.
- Deck.gl - WebGL overlay suite for React providing a set of highly performant data visualization overlays.
- GLGE - Javascript library intended to ease the use of WebGL.
- LumaGL - WebGL building blocks enabling high-performance browser-based data visualizations.
- OSG.js - WebGL framework based on OpenSceneGraph concepts to interact with WebGL.
- Phaser - Open source HTML5 2D game framework for Canvas and WebGL, supports mobile web browsers.
- PixiJS - powerful 2D Javascript renderer based on WebGL.
- Regl - Light declarative and stateless library, functional abstraction for WebGL.
- Scene.js - Extensible WebGL-based engine for high-detail 3D visualisation.
- Three.js - Aimed to create an easy to use, lightweight, 3D library.
- Whitestorm.js - Framework for developing 3D web apps with physics.
- Stack Overflow
- Freenode IRC
- Khronos Forum
- Google Group
- Google Plus
- Public Mailing List
Similar awesome lists
- awesome - Curated list of awesome lists.
- awesome-computer-vision - Curated list of awesome computer vision resources.
- awesome-opengl - Curated list of awesome OpenGL libraries, debuggers and resources. Inspired by awesome-... stuff.
- awesome-vulkan - Curated list of awesome Vulkan projects and ecosystem.
- gamedev - Awesome list about game development.
- graphics-resources - List of graphic programming resources.
Please see CONTRIBUTING for details.
Travis CI testing automation thanks to awesome_bot!
To the extent possible under law, Spencer Fricke has waived all copyright and related or neighboring rights to this work.