evanw / glfx.js

An image effects library for JavaScript using WebGL
https://evanw.github.io/glfx.js/
MIT License
3.28k stars 403 forks source link

please explain code in vibrance.js #41

Closed THEONE10211024 closed 7 years ago

THEONE10211024 commented 7 years ago

Could you please explain the code float amt = (mx - average) (-amount 3.0);,because I don't get the meaning of amt here,thanks!