Splatter effect
One of the projects I'm working on requires a splatter effect where by the user can wipe the slime off the screen.
My first attempt (plan on having a few attempts to find the best approach, next I'll try using particles) is using CoreGraphics where by I have a splatter image that I'm scaling up until its mostly filling the screen.
Now; I have the image there, rendered to a CALayer - my question is... How do I go about smudging the image around when the user drags their finger across the screen?
The current solution I have in mind is to obtain the images raw data and applying some type of gaussian blur effect to the surrounding pixels (but sounds heavy weight and slow). Any suggestions, tips will be much appreciated.
Cheers
|