evanw/glfx.js

JavaScriptevanw.github.io/glfx.js/

An image effects library for JavaScript using WebGL

webglimage-effectsjavascriptfiltersgraphics
Crecimiento de estrellas
Estrellas
3.5k
Forks
405
Crecimiento semanal
+1
Issues
31
1k2k3k
ene 2023abr 2024jul 2025oct 2026
Artefactosnpm
README

glfx.js

Adjust photos in your browser in realtime with glfx.js, an image effects library powered by WebGL. It uses your graphics card for image effects that would be impossible to apply in real-time with JavaScript alone.

There are two caveats to glfx.js. First, WebGL is a new technology that is only available in the latest browsers and it will be quite a while before the majority of users have it. Second, due to the same origin policy, JavaScript is only allowed to read images that originate from the same domain as the script reading them, so you may have to host the images you modify.

Live Demo