I used pygame to simulate the movement of rain and I was wondering how I can save this simulation as a mp4/gif file because I want to include it in a powerpoint presentation. Is there a function or specific command in other Python packages and libraries I can use besides screenrecording my screen? Thank you!