A WebGL port of Anime4K (4.0.1) glsl filter
- Anime4K Upscaler in WebGL
Image Upscaling Demo is Here https://monyone.github.io/Anime4K.js/
git clone https://github.com/monyone/Anime4K.js
cd Anime4K.js
yarn
yarn build
const upscaler = new Anime4KJS.ImageUpscaler(Anime4KJS.ANIME4KJS_SIMPLE_M_2X /* PROFILE */);
upscaler.attachSource(textureSource, canvasElement);
upscaler.upscale(); // do upscale
const upscaler = new Anime4KJS.VideoUpscaler(30 /* TARGET FPS */, Anime4KJS.ANIME4KJS_SIMPLE_M_2X /* PROFILE */);
upscaler.attachVideo(videoElement, canvasElement);
upscaler.start(); // start upscale