GLSL Shaders on OpenSeadragon zoomable tiles or any other image viaWebGL
JavaScript HTML
Clone or download
Latest commit 8636d23 Feb 8, 2018
Permalink
Failed to load latest commit information.
demo add icons to old issuse Jan 23, 2017
tools improve seaGL defaults Sep 14, 2016
.gitignore remove irrelevant demos Jan 23, 2017
CNAME . Sep 7, 2016
LICENSE MIT Sep 7, 2016
README.md Update README.md Feb 8, 2018
index.html Update index.html Sep 8, 2016
params.json Create master branch via GitHub Aug 29, 2016

README.md

Get viaWebGL + openSeadragonGL stable release!See how it works

OpenSeadragon shaders by openSeadragonGL

Featured as an OpenSeadragon Plugin!

Sobel filter on tiled image

openSD = OpenSeadragon({
        tileSources: '../tiles.dzi',
        prefixUrl: '../your/icons/',
        id: 'viaWebGL'
});
seaGL = new openSeadragonGL(openSD);
seaGL.addHandler('tile-drawing');
seaGL.vShader = '../fileV.glsl';
seaGL.fShader = '../fileF.glsl';
seaGL.init();

##seaGL.addHandler(eventName, gl-handler)

Parameter Type About
eventName String "gl-drawing" or "gl-loaded"
gl-handler Function Needed for custom access to the webGL API

Image shaders by viaWebGL

Sobel filter on vector image

image = new Image();
viaGL = new ViaWebGL();

image.onload = function() {
    viaGL.vShader = '../fileV.glsl';
    viaGL.fShader = '../fileF.glsl';
    viaGL.init(image);
}
image.src = '../file.type';

About this project

Harvard VCG