TypeScript MIT

vfx-js

WebGL effects made easy.

F

fand

Dernière activité 10 sept. 2026
fand/vfx-js

1,1 k

étoiles

37

forks

10

issues ouvertes

animationanimationscreative-codingfrontendfrontend-webglslimage-effectimage-effectsjavascriptpost-processingreactshadershaderstypescriptvideo-effectvideo-effectsvisual-effectvisual-effectsweb-developmentwebgl

Ce README est souvent en anglais.

VFX-JS

VFX-JS: Visual Effects Framework for Web

Star on GitHub

VFX-JS is a JavaScript library to add WebGL-powered effects to your website. You can easily attach it to normal <img>, <video> elements etc.

See also @vfx-js/react for React bindings.

Usage

Install via npm:

npm i @vfx-js/core

Then create VFX object in your script:

import { VFX } from '@vfx-js/core';

const img = document.querySelector('#img');

const vfx = new VFX();
vfx.add(img, { shader: "glitch", overflow: 100 });

Or compose prebuilt effects from @vfx-js/effects:

import { VFX } from '@vfx-js/core';
import { BloomEffect, PixelateEffect } from '@vfx-js/effects';

const vfx = new VFX();
vfx.add(img, {
    effect: [new PixelateEffect({ size: 10 }), new BloomEffect({ intensity: 5 })],
});

Examples

You can find basic examples on the VFX-JS website. Or visit VFX-JS Examples for more advanced use cases.

Author

AMAGI

LICENSE

MIT

Projets similaires

It can load and render cool animation effects

TypeScript2d3danimation
Ggalacean
747 étoiles34

A library of creative canvas components. Real HTML with WebGL effects running over it. React, Vue, Svelte, vanilla.

TypeScriptanimationcanvascomponent-library
DDavidHDev
4,7 k étoiles237

gl-react – React library to write and compose WebGL shaders

TypeScriptglslreactreact-native
Ggre
3 k étoiles162