0.0.4 • Published 12 months ago

anime4k.js v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Anime4K.js

A WebGL port of Anime4K (4.0.1) glsl filter

Feature

  • Anime4K Upscaler in WebGL

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

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago