M
M
Magneto9032020-09-06 08:06:17
Canvas
Magneto903, 2020-09-06 08:06:17

Is it possible to make blur along the axes (in a certain direction) in canvas?

For blurring, the canvas has a blur filter . But this filter blurs the image evenly, which does not allow you to achieve the motion blur effect.

I tried Ease JS filter , but it's not very performant.

Is there any way to blur in a specific direction on the canvas to simulate motion blur?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2020-09-06
@Magneto903

I think I'll have to rewrite to webGL. The easiest way is using PIXIJS , there is a ready-made motion blur filter for it https://pixijs.io/pixi-filters/tools/demo/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question