evanw/glfx.js

JavaScriptevanw.github.io/glfx.js/

An image effects library for JavaScript using WebGL

webglimage-effectsjavascriptfiltersgraphics
스타 성장
스타
3.5k
포크
405
주간 성장
+1
이슈
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