3b1b / manim

Animation engine for explanatory math videos
MIT License
70.79k stars 6.23k forks source link

Succession bug for introducer animations #2088

Closed icedcoffeeee closed 10 months ago

icedcoffeeee commented 11 months ago

Describe the bug

I'm not sure if this is necessarily a bug, but running multiple Write or FadeIn animations in a Succession animation does not introduce them independently, as one would expect. Code:

MWE:

class Test(Scene):
    def construct(self):
        self.play(
            Succession(
                *(
                    Write(i)
                    for i in VGroup(Text("a"), Text("b"), Text("c")).arrange(DOWN)
                )
            )
        )

Wrong display or Error traceback:

https://github.com/3b1b/manim/assets/83535735/8db25344-0ef6-4d59-b865-1d9d26d449dc

Additional context

icedcoffeeee commented 10 months ago

Closing.

The desired effect is achieved with LaggedStart instead.