Skip to main content

Rebuild short looping VFX GIFs as single-pass GLSL shaders with a coding agent.

What it is

Rebuild short looping VFX GIFs as single-pass GLSL shaders with a coding agent.

AnyVFX is an experimental project by gokayfem for recreating short effect GIFs as WebGL2 shaders. A coding agent reads the frames, uses landmarks to lay out the scene and animates the effect from per-frame measurements. The output runs as a single Shadertoy fragment shader with no textures or extra passes. The repository includes beams, a vortex, water bursts and a glowing waveform. Each example includes a browser preview and notes on how it differs from the source.

The documented setup uses Python 3.9 or later, Chromium and the companion shader-skills repository. The maintainer reports validating square, 12-frame clips on Apple silicon Macs and checking the viewer in Chromium. The workflow expects a person to review the result and guide revisions.

Key features

  • Measure frame timing, colors and movement from short GIFs
  • Rebuild the scene and effect in one WebGL2 fragment shader
  • Export a single mainImage function ready for Shadertoy
  • Compare the reference GIF and live shader side by side
  • Report per-frame RGB error at full and reduced resolution
  • Inspect four worked examples with source, shaders and notes

Pricing

Free

Free and open source under the MIT license.

Prices and plan availability can change.

Who it’s for

Developer, VFX Artist, Motion Designer

Related tools

FAQs

What files does AnyVFX take?
The documented workflow takes a short looping GIF. The four published examples are square and each has 12 frames.
What can I do with the output?
Paste the bundled GLSL into Shadertoy as a single WebGL2 fragment shader. The examples also include a browser comparison page.
What do I need to rebuild an example?
The setup guide calls for Python 3.9 or later, Chromium and a local copy of shader-skills. FFmpeg is used for optional 60 fps capture.
How does AnyVFX measure the result?
It reports mean absolute RGB channel error against the GIF, using both full-resolution frames and frames reduced by a factor of eight.
Is AnyVFX free?
The catalog lists AnyVFX as free. Free and open source under the MIT license.

Last updated

Featured