https://github.com/code-charity/webgl.js
JavaScript WebGL library.
https://github.com/code-charity/webgl.js
Last synced: 11 months ago
JSON representation
JavaScript WebGL library.
- Host: GitHub
- URL: https://github.com/code-charity/webgl.js
- Owner: code-charity
- License: mit
- Created: 2021-02-11T19:45:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T00:12:20.000Z (over 4 years ago)
- Last Synced: 2025-04-02T15:38:13.686Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webgl.js
Manipulate WebGL in the same way as the DOM.
### Usage
```html
...
var element = WEBGL.createElement('plane');
element.style.width = 100;
element.style.height = 100;
element.style.backgroundColor = 0xFFFFFF;
```
### Supported styles
- [x] left
- [x] top
- [x] width
- [x] height
- [x] background-color
- [x] background-image
- [x] scale
- [x] rotation