evanw/glfx.js

An image effects library for JavaScript using WebGL

JavaScript

3,457

18 commits

updated Oct 23, 2023

See the code

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

evanw/glfx.js

An image effects library for JavaScript using WebGL

JavaScript

3,457

18 commits

updated Oct 23, 2023

See the code

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

Project health

Overall

2.0/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

npm

Latest release

0.0.4 · Dec 8, 2016

Releases this year

0

Significant stargazers

(top 24 of 30)

Jun Wu

207 followers · starred Jul 2014

nikolas

207 followers · starred Sep 2018

Denys Séguret

746 followers · starred Mar 2014

Pine

2,235 followers · starred Oct 2020