Skip to content

Is it possible to change the text animations to discrete character appearance? #3008

Answered by MrDiver
MartinXPN asked this question in Q&A
Discussion options

You must be logged in to vote

So you have some different options. The first thing you should take a look at is the animation docs, there you can find all the animations your heart desires.

The simplest solution you have is to use the AddTextLetterByLetter Animation.

Example:

class TextAppearances(Scene):
    def construct(self):
        text = Text("Hello World").scale(2)
        self.play(AddTextLetterByLetter(text))
        self.wait()

Otherwise you can just make it more custom because in the end its just python the end like this for example:

class TextAppearances2(Scene):
    def construct(self):
        text = Text("Hello World").scale(2)
        group = AnimationGroup(
            *[FadeIn(char, shift=DOWN) for c…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MartinXPN
Comment options

You must be logged in to vote
1 reply
@MartinXPN
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants