Reference WEBGL

WEBGL

One of the two render modes in p5.js, used for computationally intensive tasks like 3D rendering and shaders.

WEBGL differs from the default P2D renderer in the following ways:

To learn more about WEBGL mode, check out all the interactive WEBGL tutorials in the "Tutorials" section of this website, or read the wiki article "Getting started with WebGL in p5".

This page is generated from the comments in src/core/constants.js . Please feel free to edit it and submit a pull request!

Related References