https://github.com/randomgamingdev/webgl2p5
A simple library that replaces the classic WebGL 1 of p5.js with WebGL2
https://github.com/randomgamingdev/webgl2p5
easy javascript javascript-library js p5js simple tiny upgrade upgrades webgl webgl-computer-graphics webgl-programming webgl2
Last synced: 5 months ago
JSON representation
A simple library that replaces the classic WebGL 1 of p5.js with WebGL2
- Host: GitHub
- URL: https://github.com/randomgamingdev/webgl2p5
- Owner: RandomGamingDev
- License: mit
- Created: 2023-05-11T00:15:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T15:07:27.000Z (over 2 years ago)
- Last Synced: 2025-07-24T09:11:08.626Z (6 months ago)
- Topics: easy, javascript, javascript-library, js, p5js, simple, tiny, upgrade, upgrades, webgl, webgl-computer-graphics, webgl-programming, webgl2
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebGL2p5
A simple library that replaces the classic WebGL 1 of p5.js (this library's only required if you're using a version older than 1.7.0) with WebGL2
Simply include it after including the p5.js library and it'll replace the WebGL 1 initialization code with WebGL 2 initialization code allowing you to use WebGL 2 features while p5.js can continue to use WebGL features due to how similar the WebGL 1 & WebGL 2 APIs are.
To use it you can simply include https://cdn.jsdelivr.net/gh/RandomGamingDev/WebGL2p5/webgl2p5.js in your HTML file! If you want to you can also just download the file and include it in your HTML file that way.
btw stuff updates so remember to specify a version/commit for your library if you want to use a link and don't want your code to automatically update to the newest version of the library