Skip to content

feat(*): add support for blur filter in canvas renderer#3189

Open
stepancar wants to merge 1 commit intoairbnb:masterfrom
stepancar:feat/add-blur-filter-for-canvas-renderer
Open

feat(*): add support for blur filter in canvas renderer#3189
stepancar wants to merge 1 commit intoairbnb:masterfrom
stepancar:feat/add-blur-filter-for-canvas-renderer

Conversation

@stepancar
Copy link
Copy Markdown
Contributor

@stepancar stepancar commented Jan 9, 2026

Currently, the canvas renderer does not support the blur effect.

Before
Screenshot 2026-01-10 at 03 31 07

After
Screenshot 2026-01-10 at 03 32 19

Here, I’m using ctx.filter = 'blur(20px)'. I also experimented with ctx.filter = 'url(#svgFilter)', and that works as well.

https://github.com/airbnb/lottie-web/compare/master...stepancar:lottie-web:feat/blur-filter?expand=1

The only issue with that approach is that scaling becomes tricky, so I decided to go with the simpler solution as a first step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant