The invention discloses a method and a 
system for generating a loop 
animation, which belong to the field of 
image generation. An artistic image is generated by constructing a 
program model, an inner spliced frame image is observed through an outer 
mask grid image, and a moire loop 
animation effect is generated based on a visual persistence principle. The method comprises of steps of inputting a pre-processed 
mask image and a pre-processed 
frame sequence image, or automatically extracting a 
key frame image from a video clip or a moving picture; determining 
image processing precision and the viewing distance according to a presentation effect demand, and completing the calculation and construction of a program 
mathematical model; a straight stripe-shaped 
mask raster image being automatically generated, extraction and staggered splicing of 
frame sequence image content being automatically completed, and a spliced frame image of an inner layer being generated. According to the method, an automatic digital process from image or 
animation segment input to art generation design to effect 
simulation and image export is realized, and the experimental property, high efficiency and art expressive force of a digital generation art method are exerted.