glfx.js

一个使用 WebGL 的 JavaScript 图像效果库。「An image effects library for JavaScript using WebGL」

Github星跟踪图

glfx.js

使用由 WebGL 支持的图像效果库 glfx.js 实时调整浏览器中的照片。它使用您的图形卡来处理图像效果,而这些图像效果不可能仅通过 JavaScript 实时应用。

glfx.js 有两个注意事项。首先,WebGL 是一种新技术,只有在最新的浏览器中才能使用,并且在大多数用户拥有它之前还需要一段时间。其次,由于相同的出处政策,JavaScript 只允许读取源自与读取它相同的域的图像,因此您可能必须托管修改的图像。

实时演示

主要指标

概览
名称与所有者evanw/glfx.js
主编程语言JavaScript
编程语言Python (语言数: 4)
平台Web browsers
许可证MIT License
所有者活动
创建于2011-05-31 01:15:31
推送于2023-10-23 13:33:18
最后一次提交2022-01-10 12:00:59
发布数0
用户参与
星数3.4k
关注者数99
派生数410
提交数44
已启用问题?
问题数50
打开的问题数31
拉请求数1
打开的拉请求数11
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

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