/awesome-webgl

A curated list of awesome WebGL libraries, resources and much more

Creative Commons Zero v1.0 UniversalCC0-1.0

Awesome WebGL Awesome

This is a curated list of awesome WebGL libraries, resources and much more.

What is WebGL

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).

Contents

WebGL

All things dealing with WebGL

WebGL sub-categories

Articles

WebGL articles and/or blog posts (non-tutorials)

Blog Series

Blog series of WebGL topics

Books

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.

GLSL Editors

Online GLSL Editors

NOTE: WebGL must conform to The OpenGL ES Shading Language, Version 1.00

Offical Specs for GLSL Version 1.00

Offical Specs for Open ES Version 2.0.25

  • 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.

References

WebGL references

Talks

WebGL related talks

Tools/Debugging

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.

Chrome Specific Tools/Debugger

Firefox Specific Tools/Debugger

  • 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.

Tutorials

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.

Videos

WebGL Related Videos

WebGL 2

Information about the upcoming WebGL 2 specs

Anything pertaining to WebGL in general is found in the WebGL section

WebGL 2 sub-categories

Articles

WebGL 2 articles and/or blog posts (non-tutorials)

References

WebGL 2 references

Tutorials

Videos

WebGL related Videos

  • Fun with WebGL 2.0 - Video tutorial series on getting started with WebGL 2, still actively adding videos.

Libraries

More detailed information about the different libraries can be found in the Libraries directory.

Math

  • 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.

WebGL 2

  • PicoGL.js - Minimal WebGL 2-only rendering library.

Others

  • 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.

Community

Related lists

Similar awesome lists

Contributing

Please see CONTRIBUTING for details.

Testing

Travis CI testing automation thanks to awesome_bot!

License

CC0

To the extent possible under law, Spencer Fricke has waived all copyright and related or neighboring rights to this work.