fand/vfx-js

TypeScriptamagi.dev/vfx-js

WebGL effects made easy.

animationanimationscreative-codingfrontendfrontend-webglslimage-effectimage-effectsjavascriptpost-processingreactshader
スター成長
スター
1.1k
フォーク
37
週間成長
+5
Issue
7
5001k
25年9月26年1月26年5月26年9月
成果物npm
README
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

関連リポジトリ
3b1b/manim

Animation engine for explanatory math videos

PythonPyPIlibraryMIT Licensepythonanimation
93.7k7.7k
animate-css/animate.css

🍿 A cross-browser library of CSS animations. As easy to use as an easy thing.

CSSnpmOthercss-animationscss
animate.style
82.8k15.9k
MisterBooo/LeetCodeAnimation

Demonstrate all the questions on LeetCode in the form of animation.(用动画的形式呈现解LeetCode题目的思路,完整单步/回看/变速/语音讲解在 algomooc.com)

JavaMaveninterviewleetcodeleetcode-solutions
algomooc.com
76.7k13.9k
juliangarnier/anime

JavaScript animation engine

JavaScriptnpmMIT Licenseanimationanime
animejs.com
72.8k4.9k
algorithm-visualizer/algorithm-visualizer

:fireworks:Interactive Online Platform that Visualizes Algorithms from Code

JavaScriptnpmappMIT Licensealgorithmdata-structure
algorithm-visualizer.org
48.7k7.6k
heygen-com/hyperframes

Write HTML. Render video. Built for agents.

TypeScriptnpmlibraryApache License 2.0aianimation
48.5k4.4k
aseprite/aseprite

Animated sprite editor & pixel art tool (Windows, macOS, Linux)

C++appanimationpixel-art
aseprite.org
39.4k8.9k
airbnb/lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native

JavaMavenlibraryApache License 2.0animationandroid
airbnb.io/lottie/
35.7k5.4k
motiondivision/motion

A modern animation library for React and JavaScript

TypeScriptnpmMIT Licenseanimationanimation-js
motion.dev
33.5k1.4k
pmndrs/react-three-fiber

🇨🇭 A React renderer for Three.js

TypeScriptnpmMIT Licensereactthreejs
docs.pmnd.rs/react-three-fiber
32.2k2k
AtsushiSakai/PythonRobotics

Python sample codes and textbook for robotics algorithms.

PythonPyPItutorialOtherpythonrobotics
atsushisakai.github.io/PythonRobotics/
30.5k7.4k
greensock/GSAP

GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web

JavaScriptnpmlibraryanimationgsap
gsap.com
28.3k2.2k