SXRadialBlurFilter

author:
Alessandro Maroso
description:
A simple radial blur filter.
lastupdate:
2014-11-27
compatible:
v2.1
homepage:
https://gist.github.com/membersheep/bbf5f7d0b524913b592e
download:
https://gist.github.com/membersheep/bbf5f7d0b524913b592e/download

Usage

Altering the parameters will dinamically affect the result.

Usage example:

SXRadialBlurFilter *filter = [SXRadialBlurFilter blurFilter];
filter.blurCenterPosition = [SPPoint pointWithX:center.x y:center.y];
filter.distance = 1;
filter.strength = 2;
displayObject.filter = filter;

Notes

Changelog

Source Code

Discussion

No comments so far. Feel free to edit this part of the page.