anyvfx

gokayfem

A Python pipeline where an AI agent converts looping GIF visual effects into single-pass WebGL2 Shadertoy fragment shaders.

PythonCreated

What is gokayfem/anyvfx?

anyvfx is a Python pipeline that lets an AI agent reconstruct looping GIF visual effects (beams, shock rings, splashes, sparks, dust) as single-pass WebGL2 Shadertoy fragment shaders.

The agent measures the reference GIF, paints the scene from traced landmarks into a single mainImage shader, and reports visual error metrics back against the original clip.

Graphics programmers, technical artists, and game developers looking to turn reference VFX clips into procedural shaders can run anyvfx.

Before you startThe README says

Runs on
Python 3.9 or newer; tested on macOS on Apple silicon
Needs
Python 3.9+, a shader-skills checkout (commit a936077), an agent that reads images and runs commands; ffmpeg only for 60 fps capture
How you get it
Clone anyvfx and shader-skills, create a venv, pip install -r requirements.txt, then playwright install chromium.
Not yet
Not exact; tested only on square clips of about a dozen frames. Another WebGL path is untested, and a person must review each pass.

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.