barrier_grid_animat​ion

Barrier grid animation is an effect created by moving a striped transparent overlay across an interlaced image. This file creates both.
11 Downloads
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.
% 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
Created with R2017a
Compatible with any release
Platform Compatibility
Windows 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

Version Published Release Notes
1.0.1

Renamed to barrier_grid_animation

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.