webgl2examples

WebGL 2 Examples

Rendering algorithms implemented in raw WebGL 2.

Currently include:

All examples are implemented in a single HTML file with minimal use of functions, modules, classes or other abstractions. The goal is to allow the reader to easily see, in sequential order, all GL calls that are made.

These examples can be thought of as companion to Shrek Shao and Trung Le’s excellent WebGL 2 Samples Pack. While their samples demonstrate individual features of WebGL 2, this project aims to demonstrate how those features can be used to implement commonly-used algorithms.

Contributing

Contributions are welcome! Especially new examples that show features that aren’t included in the current set. The only requirement is that new examples use a similar basic structure: