Skip to content

fand/vfx-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

991efec · Feb 24, 2025
Jun 13, 2024
Feb 15, 2025
Jan 6, 2025
Feb 24, 2025
Jul 8, 2021
Jan 6, 2025
Jul 15, 2024
Jan 6, 2025
Feb 8, 2025
Jan 6, 2025
Feb 8, 2025

Repository files navigation

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.

This is the core implementation of REACT-VFX.

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 });

Examples

TBD: See VFX-JS website for now.

https://amagi.dev/vfx-js/

Author

AMAGI

LICENSE

MIT