MATLAB code to generate an expanding, contracting or rotating snake illusion with variable parameters.
MATLAB code to generate the following illusions: