glfx.js is a JavaScript image-effects library that uses WebGL to apply real-time filters and transformations directly in the browser. It exposes a simple API where images are uploaded into GPU textures, processed with shader-based filters, and rendered to a WebGL canvas. Because the work is done on the GPU, many effects that would be too slow in pure JavaScript (like complex blurs, lens effects, or tilt-shift) can run interactively, even on large images. The library is structured around three components: textures (image sources), filters (shader pipelines), and canvases (render targets), making it easy to compose multiple effects. A demo page showcases a variety of filters, from basic brightness/contrast adjustments to more advanced distortions and color manipulations. glfx.js remains a handy reference and solution for anyone needing client-side photo editing, visual effects, or generative graphics powered by WebGL.

Features

  • GPU-accelerated image processing via WebGL for real-time effects
  • Texture–filter–canvas abstraction for composing complex effect chains
  • Wide range of built-in filters such as blur, vignette, tilt-shift, and color adjustments
  • Works directly in the browser with <img> and <canvas> elements
  • Suitable for photo editors, visual demos, and creative coding projects
  • Minimal pure-JS API that can be wrapped in frameworks like React or Vue

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow glfx.js

glfx.js Web Site

Other Useful Business Software
Next-generation security awareness training. Built for AI email phishing, vishing, smishing, and deepfakes. Icon
Next-generation security awareness training. Built for AI email phishing, vishing, smishing, and deepfakes.

Track your GenAI risk, run multichannel deepfake simulations, and engage employees with incredible security training.

Assess how your company's digital footprint can be leveraged by cybercriminals. Identify the most at-risk individuals using thousands of public data points and take steps to proactively defend them.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of glfx.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2025-11-13