template animation script for invoking a sketch at a known frame