An open API service indexing awesome lists of open source software.

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.

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