3 ms·
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
by teaspoon 16y ago
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.
- qwzybug 16y agoI think you need one more variable in there, but yeah that's the right idea :)
- LarrySDonald 16y agoLooking 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.