meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.55k stars 404 forks source link

How do you create your own Image filters. #103

Closed myjangle closed 11 years ago

myjangle commented 11 years ago

Hi there, i just wanted to know how do you create your own image filters, camanjs comes with some awesome filters, but it would be good if there is an ability to add more! Thanks!

meltingice commented 11 years ago

Yup, of course. CamanJS was built with extendability in mind. Check out the CamanJS-Plugins repository for examples of how to make plugins.

If you want to make photographic image filters specifically, take a look at the presets.coffee file. It defines all of the filters that CamanJS currently has.

Edit: I should add that you're not required by any means to add your own filters back into the CamanJS-Plugins repository, but new ones are always welcome.