This disclosure provides a method, apparatus, storage medium, and electronic device for generating
water flow animation, relating to the field of
computer technology. The
water flow animation generation method includes: obtaining a basic
water flow color for pixels based on a water flow map; determining a first offset value and a second offset value for the target
frame based on time parameters of the target frame; obtaining water flow parameters based on the basic water flow color, and obtaining a first water flow color based on the water flow parameters and the first offset value, and obtaining a second water flow color based on the water flow parameters and the second offset value; mixing the first and second water flow colors using
color mixing parameters to obtain a target water flow color for pixels in each frame; and generating the water flow
animation based on the target water flow color of the pixels in each frame. This disclosure improves upon the problem of low efficiency in water flow animation generation.