Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”.
rendering
preface
In any video and motion graphics project, you may need to figure out how to make a typewriter text animation using a cursor. You may be surprised to learn that this is not as easy as it looks. For this reason I decided to write this blog so that no one would have to spend hours making a typewritten animation in After Effects.
In this article, I’ll show you a variety of ways to animate typewriter effects with and without a blinking cursor 🙂.
Basic – Typewriter effect presets
Let’s start with the beginner’s basics. This is the easiest and fastest way to create cursorless typewriter effects in AFTER Effects. Follow these steps — it only takes 20 seconds.
- Create a new composition
- Click the T icon and enter your text
- Open the”Effects and Presets“Window
- Search for”Typewriter“The default
- chooseTypewriterAnd drag it into your text
- If you press play, the text will appear as an animation of typing
Check out the demo below for visual reference:
Typewriter effect with mouse cursor
To implement AE type animations with the cursor, we don’t actually use the default typewriter presets, because expressions are much more powerful than regular typewriter presets.
Below is an animated demonstration of typing with a cursor
I created the following methods to learn this after effects typing effect. Choose what works best for you.
- steps
- Video tutorial
- AE Engineering Template (at the end of this section)
- Free typewriters with cursor presets (end of this section)
steps
- Create a new composition
- Select T(Horizontal Type Tool CTRL+T)
- Enter your text
- Open the Effects and Presets window
- Search for slider controls
- Drag and drop the slider control onto the text layer
- Rename the slider control to Speed
- Go to the source text
- Alt click the stopwatch icon to add the expression
- Copy and paste this expression
L = text.sourceText.length; It = time -- thislayer.inpoint; T = It * effect("Speed") ("Slider");
F = Math.round(It % 1);
if (F == 1 | (T0)) { Fl = "|"; }
else { Fl = ""; }
substr(0, T) + Fl
Copy the code
- Increase the speed of the slider control (this defines the speed of text input)
12. Press play and you should see your text input with a blinking cursor
Video tutorial
Typewriter effect colorized mouse cursor
Free AE project templates
Download address
Free AE typewriter with cursor preset FFX
Download address