920271d07656296b0a40e88ea05fa035a4b3ffc3
This implementation of the pixel effect is now very similar to the PixelBender implementation in Scratch 2.0 I also added a slider to demo.html as a debugging aid: it manipulates a value that is passed into the shader and used in whatever way helps.
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%