function [] = iterate(t,opt)
% [] = iterate(t,opt)
% creates a movie thru an interative process that calls transformations

% options
% opt 1 -> rotate angle t
% opt 2 -> shift left t units
% opt 3 -> shift right t units
% opt 4 -> expand from origin to factor t

figure

n=100;

for i=1:n
    clf
    transformations(i*t*(1/n),opt);
    M(i) = getframe;
end

movie(M)