MCPcopy
hub / github.com/evanw/glfx.js

github.com/evanw/glfx.js @main sqlite

repository ↗ · DeepWiki ↗
119 symbols 236 edges 37 files 22 documented · 18%
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

Core symbols most depended-on inside this repo

d
called by 87
www/glfx.js/media/jquery.ui.slider.js
wrap
called by 28
src/core/canvas.js
clamp
called by 12
src/core/canvas.js
escape
called by 8
www/docs.py
files
called by 4
www/build.py
switchToFilter
called by 3
www/glfx.js/media/demo.js
k
called by 3
www/glfx.js/media/jquery.ui.slider.js
warpShader
called by 3
src/filters/common.js

Shape

Function 117
Class 1
Method 1

Languages

TypeScript85%
Python15%

Modules by API surface

www/glfx.js/media/jquery-1.5.1.min.js43 symbols
src/core/canvas.js11 symbols
www/docs.py7 symbols
build.py7 symbols
src/OES_texture_float_linear-polyfill.js5 symbols
www/glfx.js/media/demo.js4 symbols
www/build.py4 symbols
src/core/shader.js4 symbols
www/glfx.js/media/jquery.ui.slider.js3 symbols
src/core/matrix.js3 symbols
src/filters/adjust/curves.js2 symbols
src/core/texture.js2 symbols

For agents

$ claude mcp add glfx.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact