Skip to content

monyone/Anime4K.js

Repository files navigation

Anime4K.js

A WebGL port of Anime4K (4.0.1) glsl filter

Feature

  • Anime4K Upscaler in WebGL

Demo

Image Upscaling Demo is Here https://monyone.github.io/Anime4K.js/

Build

Preparing

git clone https://github.com/monyone/Anime4K.js
cd Anime4K.js
yarn

Compile

yarn build

Getting Start

Image Upscale

const upscaler = new Anime4KJS.ImageUpscaler(Anime4KJS.ANIME4KJS_SIMPLE_M_2X /* PROFILE */);
upscaler.attachSource(textureSource, canvasElement);
upscaler.upscale(); // do upscale

Video Upscale

const upscaler = new Anime4KJS.VideoUpscaler(30 /* TARGET FPS */, Anime4KJS.ANIME4KJS_SIMPLE_M_2X /* PROFILE */);
upscaler.attachVideo(videoElement, canvasElement);
upscaler.start(); // start upscale

Credits

Releases

No releases published

Packages

No packages published

Languages