How to simulated handwriting text
Moderators: Víctor Paredes, Belgarath, slowtiger
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
How to simulated handwriting text
I was playing around with handwriting text and thought I'd share a quick approach. Nothing amazing for advanced users, but hopefully it can help people who are newer users and interested in the topic.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How to simulated handwriting text
Simple solution for very convincing results. Nice work.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
Re: How to simulated handwriting text
Thanks Wes. It's always fun playing with and learning new things in Moho 

Re: How to simulated handwriting text
Works surprisingly well. I think the noisy interp helps with that.
You could also have used a Group-mask for the masking - which would have negated the need for background matching.
You could also have used a Group-mask for the masking - which would have negated the need for background matching.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
Re: How to simulated handwriting text
Thanks. I don't use masks much. I know they're super powerful, I just haven't personally used them much, so I didn't know that. Thanks for sharing!You could also have used a Group-mask for the masking - which would have negated the need for background matching.
Re: How to simulated handwriting text
Looks great, thank you.
Noisy interpolation is pretty cool. As an idea, for something more precise, the Follow Path could work too.
Noisy interpolation is pretty cool. As an idea, for something more precise, the Follow Path could work too.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How to simulated handwriting text
Since the text is composed of closed shapes, you'd have to create your own single path to follow.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How to simulated handwriting text
Exactly, for more precise control, like a more realistic animation style. And using the animated strokes at the same time.synthsin75 wrote: ↑Tue Jan 18, 2022 11:51 pm
Since the text is composed of closed shapes, you'd have to create your own single path to follow.
But this case is simple and looks great. Not realistic, but convincing.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How to simulated handwriting text
While you could definitely make a follow path to match the print text, it'd have to be strokes (without fills) for animated strokes to work. If you were going for realism, you'd also want to animate the fingers/pen more than just layer translation.Daxel wrote: ↑Wed Jan 19, 2022 12:55 amExactly, for more precise control, like a more realistic animation style. And using the animated strokes at the same time.synthsin75 wrote: ↑Tue Jan 18, 2022 11:51 pm Since the text is composed of closed shapes, you'd have to create your own single path to follow.
But this case is simple and looks great. Not realistic, but convincing.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How to simulated handwriting text
Very clever, thank you strider2000 for sharing!
Wiki says that videoscribe, a whiteboard animation package, was written in flash. It basically follows the strokes in a svg file, drawing them as the pen goes over them. I wonder if something like that is possible in Moho, perhaps with a script? I notice when I preview render a complex svg file in Moho i can see it drawing those strokes one at a time.
Wiki says that videoscribe, a whiteboard animation package, was written in flash. It basically follows the strokes in a svg file, drawing them as the pen goes over them. I wonder if something like that is possible in Moho, perhaps with a script? I notice when I preview render a complex svg file in Moho i can see it drawing those strokes one at a time.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How to simulated handwriting text
That's what the menu script Scripts>Draw>Animated Strokes does. Then you can use the follow path tool to match up the pen/hand.ggoblin wrote: ↑Sun Jan 23, 2022 9:16 pm Wiki says that videoscribe, a whiteboard animation package, was written in flash. It basically follows the strokes in a svg file, drawing them as the pen goes over them. I wonder if something like that is possible in Moho, perhaps with a script? I notice when I preview render a complex svg file in Moho i can see it drawing those strokes one at a time.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How to simulated handwriting text
I'm not sure how to use the script.
I imported a svg image, selected the script. The popup box asked duration, I entered 240 frames and pressed ok. Nothing seemed to happen. I pressed play to see if anything in the timeline had changed.. couldn't detect anything, rendered a frame thinking maybe its only visible in the final render.. still nothing.
If you have the time, an example would really help.
I imported a svg image, selected the script. The popup box asked duration, I entered 240 frames and pressed ok. Nothing seemed to happen. I pressed play to see if anything in the timeline had changed.. couldn't detect anything, rendered a frame thinking maybe its only visible in the final render.. still nothing.
If you have the time, an example would really help.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: How to simulated handwriting text
You need to select the points of the vector curve, so Moho knows what you want to apply it to.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: How to simulated handwriting text
Just playin' around since I'd never used the script before....


The one thing about this script is that it assumes the first point drawn is the beginning of the Stroke Exposure. That makes sense, just something to be aware of. That said, for some reason I had to reanimate the first leg in the H to make it draw in the correct direction, and I'm not sure why because I drew this with the Freehand tool the way it's animated. Maybe because both paths are in the same layer?
Anyway, considering the time I spent fixing this, it probably would have been faster to just keyframe the Stroke Exposure by hand. Just FYI.


The one thing about this script is that it assumes the first point drawn is the beginning of the Stroke Exposure. That makes sense, just something to be aware of. That said, for some reason I had to reanimate the first leg in the H to make it draw in the correct direction, and I'm not sure why because I drew this with the Freehand tool the way it's animated. Maybe because both paths are in the same layer?
Anyway, considering the time I spent fixing this, it probably would have been faster to just keyframe the Stroke Exposure by hand. Just FYI.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: How to simulated handwriting text
Seems silly not realising that I should obviously select the points before running the script.
Thank you for the example Greenlaw.
The script works very well.

But I don't think we can use the follow path tool for the pencil and hand as apart from very simple examples, svg images can have hundreds of paths. Creating our own custom path to follow all that doesn't seem practical.
I wonder if there is a way to combine all the paths in the svg to one path so that we can use follow path tool (without changing the ordering of the points being drawn - for example, here it would be a shame to loose the boys eye being drawn first). The other way would be adjusting the existing animate stroke script to include drawing a follow path object as it reveals the path.. I don't know if this is even possible as it is using curve exposure to accomplish its task.

Thank you for the example Greenlaw.
The script works very well.

But I don't think we can use the follow path tool for the pencil and hand as apart from very simple examples, svg images can have hundreds of paths. Creating our own custom path to follow all that doesn't seem practical.
I wonder if there is a way to combine all the paths in the svg to one path so that we can use follow path tool (without changing the ordering of the points being drawn - for example, here it would be a shame to loose the boys eye being drawn first). The other way would be adjusting the existing animate stroke script to include drawing a follow path object as it reveals the path.. I don't know if this is even possible as it is using curve exposure to accomplish its task.