barrier_grid_animation
% 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.
% SYNTAX
% [encodedAnimation, venetianBlindsPattern] = barrier_grid_animation...
% (transparentColumnWidth, animationFolder)
% INPUTS
% [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)
% OUTPUTS
% 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.”
Cite As
Edgar Guevara (2024). barrier_grid_animation (https://github.com/guevaracodina/barrier_grid_animation), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.1 | Renamed to barrier_grid_animation |
|
|
1.0.0 |
|