Manipulate WebGL in the same way as the DOM.
<!doctype html>
<html>
<head>...</head>
<body>
<canvas></canvas>
<script src="webgl.js"></script>
<script>
var element = WEBGL.createElement('plane');
element.style.width = 100;
element.style.height = 100;
element.style.backgroundColor = 0xFFFFFF;
</script>
</body>
</html>
- left
- top
- width
- height
- background-color
- background-image
- scale
- rotation