glfx.js

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

  • 所有者: evanw/glfx.js
  • 平台: Web browsers
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

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