Why the code can't write video #1869
Answered
by
TonyCrane
longlongvip
asked this question in
Q&A
-
from manimlib import *
class SquareToCircle(Scene):
def __init__(self, **kwargs):
super().__init__()
def construct(self):
circle = Circle()
circle.set_fill(BLUE, opacity=0.5)
circle.set_stroke(BLUE_E, width=4)
square = Square()
self.play(ShowCreation(square))
self.wait()
self.play(ReplacementTransform(square, circle))
self.wait() manimgl start.py SquareToCircle -ow Why the code enter the interactive mode? |
Beta Was this translation helpful? Give feedback.
Answered by
TonyCrane
Sep 21, 2022
Replies: 2 comments 1 reply
-
I know it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Don't overwrite the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
TonyCrane
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't overwrite the
__init__
method.