StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/flip-pixels
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
.eslintrc.json fix the frontend 3 years ago
.travis.yml fix the frontend 3 years ago
index.js fix the frontend 3 years ago
package.json fix the frontend 3 years ago
readme.md fix the frontend 3 years ago
test.js fix the frontend 3 years ago

readme.md

Build Status

Flip pixels after gl.readTexture:

var flip = require('flip-pixels')

var w = gl.drawingBufferWidth;
var h = gl.drawingBufferHeight
var pixels = new Uint8Array(w * h * 4);
gl.readPixels(0, 0, w, h, gl.RGBA, gl.UNSIGNED_BYTE, pixels);

flip(pixels, w, h)

Based on this question.

See also clip-pixels.