How do you make an jpg file have the effect so that it looks like it's only moving from left to right or from top to bottom? I know it's something involving convolution and loops, but I have no idea how to do it.
A motion blur effect without depth information is basically just a direction blur and as you only want to blur in vertical/horizontal direction you can further simplify this to the vertical/horizontal pass of a two pass blur. Just google "two pass blur" and you should get plenty of information on how to achieve this.
Answers
Do you have any examples of what you're talking about?
A motion blur effect without depth information is basically just a direction blur and as you only want to blur in vertical/horizontal direction you can further simplify this to the vertical/horizontal pass of a two pass blur. Just google "two pass blur" and you should get plenty of information on how to achieve this.
@KevinWorkman, It's the same project that this person is posting http://forum.processing.org/two/discussion/3203/syntax-for-convolution#Item_3 We have to create a motion blur on a basketball and then put it over an image background later.
maybe this is helpful http://www.jhlabs.com/ip/blurring.html
@mischi, I understand the general concept of it, but I don't know how to put it into code itself.
Please, don't create multiple threads for the same question. At least link to your second thread: http://forum.processing.org/two/discussion/3340