Christopher Willis-Ford ef100bf91e Make API consistent from page and worker
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.
2016-06-16 12:59:48 -07:00
2016-06-15 14:39:44 -07:00
2016-06-08 09:27:01 -07:00
2016-06-15 14:39:44 -07:00
2016-06-08 09:27:01 -07:00

scratch-render-webgl

Build Status

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
No description provided
Readme 6.4 MiB
Languages
JavaScript 91.9%
GLSL 4.6%
HTML 3.5%