airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
30.62k stars 2.88k forks source link

Any plans for blur effects #283

Open phantomboogie opened 7 years ago

phantomboogie commented 7 years ago

I'm trying to create a box with faded edges.

I have a track matte I'm using as a mask and I added a blur which that didn't export. I then tried to do the same thing using a mask with a feather, but that also didn't convert.

Any ideas for a work around or plans to implement this feature down the road?

phantomboogie commented 7 years ago

https://dl.dropboxusercontent.com/u/113452155/bodymovin_grad_issue.aep Here's my ae file and the issue I'm dealing with.

bodymovin commented 7 years ago

blur and feather are on the roadmap but not ready yet. There is a big performance hit for this kind of effects.

phantomboogie commented 7 years ago

Thanks for the reply. I kind of figured out a work around by creating a gradient in a seperate ai file and importing that to use as a gradient in AE. Bodymovin exported that as a png and it worked.

slane2016 commented 7 years ago

Hi - Any update on this? We're trying to create liquid motion effect and need blur / contrast effects but doesn't look to be supported.

brrrme commented 7 years ago

Hi, also curious if there are any updates on blur effects.

morkilis commented 6 years ago

Hey, it's 2018 and I'm also curious! Any updates on the blurry business?

bodymovin commented 6 years ago

Not yet unfortunately. Blur effects are performance intensive and wouldn't work well on browsers. Also, blur properties don't translate well to svg blur filters.

Beefsock commented 6 years ago

I'd really love to have the blur effect as well even if it is performance intensive. Thanks for keeping us in the loop about this though, I was wondering why my motion blur wasn't working!

kazuser commented 6 years ago

+1 for blur

bodymovin commented 6 years ago

for now, you can "hack" a blur filter to an element yourself. if you don't need it animated, you can create an svg blur filter and select the element you want to blur via a class or id and attach the blur filter manually. Check here for more info about referencing html/svg elements.

zhengs commented 6 years ago

I think you can also animate it using the svg blur filter workaround. Just time the animation and change the blur parameter as a function of time.

michelluarasi commented 6 years ago

Add blur pls.

marycc001 commented 6 years ago

for now, you can "hack" a blur filter to an element yourself. if you don't need it animated, you can create an svg blur filter and select the element you want to blur via a class or id and attach the blur filter manually. Check here for more info about referencing html/svg elements.

When I used a class and added the blur filter code in the CSS, it doesn't seem to appear. But the class is there, I confirmed. Any pointers to what I might be doing wrong?

eidunno777 commented 5 years ago

^ I'm having the same issue as marycc001. I've added a blur filter and in my css applied it with a filter:url but it causes the whole element to disappear upon being applied.

bodymovin commented 5 years ago

hi, @eidunno777 can you share a link with the implementation?

chrants commented 5 years ago

Gaussian blur seems to now be implemented! This is very close to motion blur, but ofc needs heavy customization to match it.

GDnsk commented 4 years ago

Gaussian blur seems to now be implemented! This is very close to motion blur, but ofc needs heavy customization to match it.

Just tried it with lottie-react-native and it doesn't work :(

jerfeson commented 4 years ago

Gaussian blur seems to now be implemented! This is very close to motion blur, but ofc needs heavy customization to match it.

tried lottie web and it doesn't work

It would be interesting to have this resource someday, even if it happens or you don't enjoy it, think that you can be left with the burden of those who apply;

gobhit commented 3 years ago

shine I used this PNG as a Track Matte on the layer I wanted a feathered mask on, method works for masks that don't change shape.

okpoub commented 1 year ago

5 years later and it's still not working...

(well only the blur layer effect is supported for Android - see supported features)