Highlighted

Tweening a blur using script

New Here ,
Oct 02, 2020

Copy link to clipboard

Copied

I need to unblur an image over time. It doesn't seem you can get it done using Animate's filter feature, so I've looked into doing it via script and CreateJS commands.

 

I'm probably doing something wrong, but here below is a simple piece of code I've tried - it doesn't work though: the image is blurred and remains blurred, nothing is happening. 

 

var blurFilter = new createjs.BlurFilter(5, 5, 1);
this.myimage.filters = [blurFilter];

createjs.Tween.get(this.myimage.filters)
.wait(150)
.to({blurX:0,blurY:0}, 500, createjs.Ease.cubicInOut);

 

Views

29

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Tweening a blur using script

New Here ,
Oct 02, 2020

Copy link to clipboard

Copied

I need to unblur an image over time. It doesn't seem you can get it done using Animate's filter feature, so I've looked into doing it via script and CreateJS commands.

 

I'm probably doing something wrong, but here below is a simple piece of code I've tried - it doesn't work though: the image is blurred and remains blurred, nothing is happening. 

 

var blurFilter = new createjs.BlurFilter(5, 5, 1);
this.myimage.filters = [blurFilter];

createjs.Tween.get(this.myimage.filters)
.wait(150)
.to({blurX:0,blurY:0}, 500, createjs.Ease.cubicInOut);

 

Views

30

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 02, 2020 0
kglad LATEST
Adobe Community Professional ,
Oct 02, 2020

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 02, 2020 0