Reference P2DHDR

P2DHDR

A high-dynamic-range (HDR) variant of the default, two-dimensional renderer.

When available, this mode can allow for extended color ranges and more dynamic color representation. Use it similarly to P2D: createCanvas(400, 400, P2DHDR).

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/core/constants.js and open a pull request!

Related References