How to simulated handwriting text

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Greenlaw
Posts: 9576
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How to simulated handwriting text

Post by Greenlaw »

Somebody wrote a script recently that lets you re-define the starting point on a path. It's something I can use from time to time, like the 'H' problem described above, but I just now remembered it. (D'oh!) I'll have to look it up because I don't remember what it was called, but it should be searchable in this forum.

This is probably small help for a very complex drawing like the one you posted, but just thought I'd mention it.

For something this complex, I'd probably just use Procreate to draw it. The app records all your strokes, and it can re-play and export the session as a movie file.
User avatar
SimplSam
Posts: 1098
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: How to simulated handwriting text

Post by SimplSam »

Greenlaw wrote: Mon Jan 24, 2022 7:08 pm Somebody wrote a script recently that lets you re-define the starting point on a path. It's something I can use from time to time, like the 'H' problem described above, but I just now remembered it. (D'oh!) I'll have to look it up because I don't remember what it was called, but it should be searchable in this forum...
https://mohoscripts.com/script/ss_curve_exposure - "Allows the Anchor Point on an exposure curve to be set to any Point of the curve". p.s. It has to be a closed path.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
Greenlaw
Posts: 9576
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How to simulated handwriting text

Post by Greenlaw »

That's it! Thank you SimplSam for the reminder and for having created this. I forgot that this tool is only useful on a closed path. That's fine though...it's how I would normally want to use it. :)

Does anybody know if there's a way to flip the point order of a selected path, open or closed? This something I do often in 3D animation and also in compositing programs like After Effects, and I think it could be useful in Moho too, especially when working with Stroke Exposure.
User avatar
synthsin75
Posts: 10051
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to simulated handwriting text

Post by synthsin75 »

Greenlaw wrote: Mon Jan 24, 2022 11:47 pm Does anybody know if there's a way to flip the point order of a selected path, open or closed? This something I do often in 3D animation and also in compositing programs like After Effects, and I think it could be useful in Moho too, especially when working with Stroke Exposure.
That would be possible to script, but it might be simpler to just script inverting the stroke exposure keyframe values...or add a "Reverse" checkbox on the menu script.
User avatar
synthsin75
Posts: 10051
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to simulated handwriting text

Post by synthsin75 »

ggoblin wrote: Mon Jan 24, 2022 5:37 pm 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.
Usually, speed drawing doesn't include the hand/pen...unless it's one of those explainer-type videos. But if needed, I'd just make a new stroke, on another layer, that follows the stroke exposure. Probably won't be exact, but at that speed, it really doesn't need to be. And it beats trying to connect strokes, or worse, duplicate the hand and switch between them for every individual stroke.
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: How to simulated handwriting text

Post by ggoblin »

This approach makes sense for a one off animation, keep it simple.

I was thinking more generally. Perhaps a possible solution might be a python script that could join the paths in a svg file in to a single path and save a new svg file. Then both svg files could be imported into Moho, one used for correctly displaying the image using Animated Strokes script and the other 'single path' svg used by Follow Path to get the pencil to follow the animated strokes..

It was an interesting thread, thank you.
User avatar
synthsin75
Posts: 10051
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to simulated handwriting text

Post by synthsin75 »

ggoblin wrote: Wed Jan 26, 2022 7:20 pm I was thinking more generally. Perhaps a possible solution might be a python script that could join the paths in a svg file in to a single path and save a new svg file. Then both svg files could be imported into Moho, one used for correctly displaying the image using Animated Strokes script and the other 'single path' svg used by Follow Path to get the pencil to follow the animated strokes..
A Moho script could duplicate the layer and connect all the curves.
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: How to simulated handwriting text

Post by ggoblin »

Wow, even better! Such a script could open up Moho to an entire new market - whiteboard explainer animations.
User avatar
synthsin75
Posts: 10051
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to simulated handwriting text

Post by synthsin75 »

ggoblin wrote: Thu Jan 27, 2022 4:23 pm Wow, even better! Such a script could open up Moho to an entire new market - whiteboard explainer animations.
Don't know if I'll find the time for it soon, but it'd just have to connect any end points, in point order, if any other scripter gets around to it first.
ggoblin
Posts: 266
Joined: Wed Jan 19, 2022 2:09 pm

Re: How to simulated handwriting text

Post by ggoblin »

If you or another scripter gets a chance, that would be amazing!
Post Reply