p5.js
p5.js copied to clipboard
Add a read-only flag to indicate if the current canvas is Web GL
trafficstars
Resolves #5750
Changes:
Added a read-only .isWebGL flag to p5 instances. This flag is set in createCavnas. Included comments, no inline docs.
Usage screenshot:

PR Checklist
- [x]
npm run lintpasses