Function: writeWithPen()
writeWithPen(
target,options):WriteWithPen
Defined in: src/mobjects/writing-pen/writeWithPen.ts:46
Write (or Create) a VMobject while a pen follows the tip of the stroke.
The reveal and the pen use the same duration and rate function, so the
nib is always on the path point at the current alpha. The pen is added to
the scene by scene.play() and removed at the end unless removePen is false.
Parameters
target
options
WriteWithPenOptions = {}
Returns
Example
await scene.play(writeWithPen(circle, { duration: 2 }));