HTML5 Canvas Motion Blur effect?

后端 未结 2 1432
孤独总比滥情好
孤独总比滥情好 2021-01-19 21:54

I\'m trying to use HTML5 canvas to make something like a motion blur effect and no success.

Basically what I\'m trying to do is to take a photo and make it look like

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-19 22:39

    There are several libraries for canvas that have implemented various blurring algorithms. EaselJS has implemented x- and y-axis blurring independently, as you can see in this sample.

    All you might want is a x-axis blur from their libray.

提交回复
热议问题