Processing Image Blur

Oct 26, 2012 16:27



I wanted to play with pixel streaking and it was harder than I thought. Because the data is stored in a linear array in memory, my brain had major troubles with the math involved to traverse the array properly. Soooo, I called in a friend who knows programming to help me figure out the math with some well chosen "if statements".




See the full gallery on Posterous

Once we got the horizontal streak working I then asked "Why don't we add a mouse button toggle and get it to streak vertically?" Here is where the math hurt.




Instead of traversing the arrays linearly (0, 1, 2, 3, 4, etc...) we 'rotated' the traverse (0, 5, 10, 15, etc...) so that the "if statements" could remain functionally the same (x's because y's).




See the full gallery on Posterous

Posted via email from Exploded
Previous post Next post
Up