Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods don't work #23

Open
Myzel394 opened this issue Jun 10, 2022 · 0 comments
Open

Methods don't work #23

Myzel394 opened this issue Jun 10, 2022 · 0 comments

Comments

@Myzel394
Copy link
Contributor

You can't execute any methods once the animations for each object are started. Example:

class WaveScene(Scene):
    def construct(self):
        wave = StandingWave(2, color=YELLOW)

        self.add(wave)

        wave.start_wave()  # Troublemaker

        self.wait(1)
        self.play(
            ApplyMethod(wave.shift, DOWN)
        )
        self.wait(10)

The wave doesn't move down when using wave.start_wave() before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant