A couple weeks ago I was contacted and asked to write some filters for Starling that could be used in a mobile camera application. To be honest, I’m not sure what’s become of the app as I’ve lost contact with the developer, unfortunately. A part of the deal, however, was that I eventually open source the filters, so I’m going to go ahead and do that now.
So, to my Starling Filters repo on Github, I’ve now added seven new photographic effects:
AnselFilter is a highly configurable way of making black and white images.
BleachFilter will bleach the color out of images in a fairly interesting way.
BloomFilter a relatively standard bloom effect with adjustable color.
LomoFilter does a bit of toy camera/Lomo/Vintage color adjustment.
NoiseFilter will add a custom amount of grain/noise to an image. Animating the seed parameters can produce a nice static effect.
TiltShiftFilter will produce a decent tilt shift blur. To be effective, this filter requires multiple passes, though, so probably isn’t that useful in performance critical situations.
VignetteFilter creates a standard vignette effect with optional sepia colorizing.
I also sat down and created a filter browser demo app thing so that you can easily see how different filters will look when applied to different photos.
As usual, if anyone uses any of these filters, let me know. It’s not necessary, but I’m always interested.
Great Job! “CDATA” using is pretty nice
I’m just too lazy to bother with all those quotes. :)
This is an amazing contribution to the community!
Thank-you so much!
Wow, thanks!
great job & thank you for sharing it! a big supercool up.
a big supercool up! thanks for sharing!
love them, thanks a lot!
WOW!
This is absolutely amazing!
Im sure a lot of devs somewhere in an app stumbled on the possibility of adding filters to photos/images and where discouraged by the lack of AGAL knowledge (or at least that would be me).
Thanks a lot for open sourceing this!
Simply stellar. Thanks so much for open-sourcing it!
Absolutely awesome! Thanks so much for sharing!
Thanks for this, it’s really useful, but the noise filter doesn’t work well on mobile, producing black stripes all over the image. Any idea why?
@Francis Thank you for the feedback. I’m assuming the ‘random’ method was just not very good. I’ve just committed an update to the algo based on this blog post: http://byteblacksmith.com/improvements-to-the-canonical-one-liner-glsl-rand-for-opengl-es-2-0/ I haven’t tried it on mobile, but if you do, post back to let me know how it works out.
-d