pythonpython-3.xmanim

Display two animations at the same time with Manim


I am trying to run two animations at the same time, for example: a dot falling between two letters as those letters make space in between them. Any advice on how to do so?


Solution

  • To apply two transformations at the same time, you can do self.play(Transformation1, Transformation2). This way, since the two Transformations are in the same play statement, they will run simultaneously.