Generate a Manim animation for the following description. Output ONLY the Python code,…
- User
Generate a Manim animation for the following description. Output ONLY the Python code, wrapped in triple backticks (
python ...). Description: gravityNOTE!!!: Make sure the objects or text in the generated code are not overlapping at any point in the video. Make sure that each scene is properly cleaned up before transitioning to the next scene. IMPORTANT: Never assign a value to AUDIO*_DURATION placeholders. Only use them as arguments in function calls, e.g., self.wait(AUDIO1_DURATION). Do not write lines like AUDIO1_DURATION = ... or AUDIO2_DURATION = ... in the code. Only use rate functions that exist in manim.utils.rate_functions for Manim v0.18.1, such as linear, smooth, rush_into, rush_from, there_and_back, ease_in_sine, ease_out_sine, etc. Do NOT use ease_in or any function that does not exist. Only use color constants that are defined in Manim v0.18.1, such as BLUE, RED, GREEN, YELLOW, WHITE, BLACK, etc. Do NOT use colors like DARK_GREEN or any color that is not defined by default. ALWAYS include a narration_segments list with 3–5 narration texts. For each segment, use self.add_sound('audioX.mp3') and self.wait(AUDIOX_DURATION) at logical scene transitions.
- Assistant