evanw/glfx.js

JavaScriptevanw.github.io/glfx.js/

An image effects library for JavaScript using WebGL

webglimage-effectsjavascriptfiltersgraphics
Star 增长趋势
Star
3.5k
Forks
405
周增长
+1
Issues
31
1k2k3k
2023年1月2024年4月2025年7月2026年10月
制品库npm
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