ef100bf91ee1f0f0a451c6fad49f9204ecd365e0
RenderWebGL{Local,Worker} class methods return Promise instances from
all methods returning a value. This makes the API consistent from a
Web Worker vs. the local page, and also allows the possibility of
asynchronous render queries in the future.
scratch-render-webgl
Installation
npm install scratch-render-webgl
Setup
Standalone Build
make build
<script src="/path/to/render-webgl.js"></script>
<script>
var renderer = new window.RenderWebGL();
// do things
</script>
Testing
make test
make coverage
make benchmark
Description
Languages
JavaScript
91.9%
GLSL
4.6%
HTML
3.5%