摘要 |
<p>The present disclosure discloses a method and apparatus for generating a dynamic wallpaper, including: a basic visual effect control parameter is initialized and a 3D transformation parameter is set; a background and particles are rendered based on the 3D transformation parameter and the basic visual effect control parameter to generate a dynamic wallpaper; the 3D transformation parameter and the basic visual effect control parameter are updated based on a touch mode and a touch position upon detection of a user's touch action on a screen; and the background and the particles in the dynamic wallpaper are re-rendered based on the updated parameters. The technical solutions of the present disclosure can provide an intuitive effect of 3D depth motion particles and an interaction enjoyment, and have unique features in terms of user experience such as visual effect and interaction effect compared to existing wallpapers.</p> |