Updated 7 Oct 2020
% Barrier-grid animation (a.k.a.picket-fence animation or
% kinegram) is an animation effect created by moving a striped transparent
% overlay across an interlaced image.
% [encodedAnimation, venetianBlindsPattern] = barrier_grid_animation...
% (transparentColumnWidth, animationFolder)
% [OPTIONAL INPUTS]
% transparentColumnWidth Integer to indicate the width of the
% transparent columns (default: 4)
% animationFolder Folder where the individual frames are stored.
% These should be black and white pictures, a number
% between 2 and 6 images works fine in most
% situations (default: current)
% encodedAnimation Image to be printed on white paper (2D matrix)
% venetianBlindsPattern Image to be printed on a transparent medium (2D matrix)
% Copyright (C) 2020 Edgar Guevara, PhD
“In the early 2,000’s, a version of Barrier Grid Animation called “Scanimation®” was popularized by Rufus Butler Seder in such children’s books as “GALLOP!” and “STAR WARS.”
Edgar Guevara (2023). barrier_grid_animation (https://github.com/guevaracodina/barrier_grid_animation), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Versions that use the GitHub default branch cannot be downloaded
Renamed to barrier_grid_animation