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.
You can't execute any methods once the animations for each object are started. Example:
The wave doesn't move down when using
wave.start_wave()before.