This article studies the generation of 3D animation simulation based on gray value algorithm and fractal interpolation algorithm. The article uses fractal technology combined with the Diamond-Square algorithm to generate height data and then color it. This algorithm optimizes the 3D animation process. The results show that the algorithm is fast in generating speed and only needs to input a few simple animation parameters to generate different 3D animations.