News for hackers. Stuff that matters.
Re:Optical illusion of motion by teaspoon on Sunday April 18, 2010 @04:09AM (#1274542)
It's a simple algorithm, and you could carry it out by hand in an image editor without much difficulty.

Just overlay N layers (the frames of your animation) on top of one another. For every Nth column of pixels, delete the next N-1 columns following it (in all layers). Then, for each layer at index X in the stack, translate the entire layer horizontally by X pixels.

Your overlay for viewing the animation is just a black opaque rectangle with every Nth column being deleted to reveal the image beneath.

Re:Optical illusion of motion by LarrySDonald on Sunday April 18, 2010 @10:49AM (#1274895)
Looking at it, yes, that's pretty much it. Lenticular images (aka, sports flips, those odd things that move when you tilt them, etc) are based on the same principle except with a lens to show each "band" depending on viewing angle rather then moving a striped sheet over it to obscure a sequence of frames.
Re:Optical illusion of motion by qwzybug on Sunday April 18, 2010 @05:04AM (#1274581)
I think you need one more variable in there, but yeah that's the right idea :)