Animating with just lines
Moderators: Víctor Paredes, Belgarath, slowtiger
- Yosemite Sam
- Posts: 542
- Joined: Thu May 05, 2011 2:05 am
- Location: Bismarck, ND
Animating with just lines
Hey guys, so the project I'm working on now is just lines. Stick figures. Very simple. I'll include images for reference.
So basically it's a whiteboard type style.
My question is this. How do I have a stick character in front of, let's say a house, without us seeing the house through the character's head?
I played around with masking, but nothing seemed to work. I could give his head a fill that matches the BG color, but this is a huge project with many moving parts, the BG color could change on the fly, so don't see that as an option.
Any thoughts on a solution would be greatly appreciated!
(And of course, images aren't showing up for me in this post. Let me know if the links don't work)
https://imgur.com/DjHqqwA
https://imgur.com/GH4oBTy
So basically it's a whiteboard type style.
My question is this. How do I have a stick character in front of, let's say a house, without us seeing the house through the character's head?
I played around with masking, but nothing seemed to work. I could give his head a fill that matches the BG color, but this is a huge project with many moving parts, the BG color could change on the fly, so don't see that as an option.
Any thoughts on a solution would be greatly appreciated!
(And of course, images aren't showing up for me in this post. Let me know if the links don't work)
https://imgur.com/DjHqqwA
https://imgur.com/GH4oBTy
Jimmy Mills
Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
- synthsin75
- Posts: 10264
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Animating with just lines
Sounds like you'd need to put everything, including the background, in a masking group. Then you just set the group to show all, place a reference of the character with a filled head just above the background, and set it to subtract. Set the original character layer to not mask, and everything else to mask.
- 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: Animating with just lines
Personally - I would just fill the head in the same way that you have filed the teeth. I don't think anything else is going to work visually.
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
- Yosemite Sam
- Posts: 542
- Joined: Thu May 05, 2011 2:05 am
- Location: Bismarck, ND
Re: Animating with just lines
Okay, I did a small test with that previously. But not with an entire rig. These rigs are simple but have a lot of switches, masking, etc. But sounds like that may be the only solution.synthsin75 wrote: ↑Thu May 23, 2024 1:49 am Sounds like you'd need to put everything, including the background, in a masking group. Then you just set the group to show all, place a reference of the character with a filled head just above the background, and set it to subtract. Set the original character layer to not mask, and everything else to mask.
Thanks for taking the time to respond!
Jimmy Mills
Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
- Yosemite Sam
- Posts: 542
- Joined: Thu May 05, 2011 2:05 am
- Location: Bismarck, ND
Re: Animating with just lines
Yeah, I don't think the filled head is an option. But if all else fails I will have to present that to the team.
Thanks, Simplsam!
Jimmy Mills
Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Animating with just lines
IMO it's not just the (logically) filled shapes (such as the head), but it's also where lines from different objects intersect (e.g. legs and torso over the edges of the hut) that need to be addressed.
quick and dirty in PS to add white outline around the stick figure (note - includes "inside the head" shapes too, so NOT a Moho layer outline).

I tried it with the bg fill colour (Xeaeaea), but IMO pure white as here looked better...
quick and dirty in PS to add white outline around the stick figure (note - includes "inside the head" shapes too, so NOT a Moho layer outline).

I tried it with the bg fill colour (Xeaeaea), but IMO pure white as here looked better...
Re: Animating with just lines
I think you have 2 problems here. One is that anything inside a closed shape, like the head, should block the BG. The other is that the lines might blend uncomfortably with any BG lines and make the character unredable.
Maybe styles are the solution: define a fill colour style and fill the head with it. Use the same style for filling the BG. As long as you have only 1 scene without BG colour change in one project file, it should work that you edit the style in that project file and you will always have a full head blocking any BG lines.
The 2nd problem could be solved as already suggested, with the white outline around everything. Maybe even blur it? I also saw another solution by a stylistic choice (I think it was Birdbox Studio?): only the moving character has 100% black lines. Any BG lines should be lighter, like 66% (and this process could berepeated if necessary to stack BG elements).
Maybe styles are the solution: define a fill colour style and fill the head with it. Use the same style for filling the BG. As long as you have only 1 scene without BG colour change in one project file, it should work that you edit the style in that project file and you will always have a full head blocking any BG lines.
The 2nd problem could be solved as already suggested, with the white outline around everything. Maybe even blur it? I also saw another solution by a stylistic choice (I think it was Birdbox Studio?): only the moving character has 100% black lines. Any BG lines should be lighter, like 66% (and this process could berepeated if necessary to stack BG elements).
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini Plus OS 13.5
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini Plus OS 13.5
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Animating with just lines
ok - so I know you don't want the head filled, but this is what it looks like with the fill the same as the "paper" (and keeping the pure white outline -- which I haven't blurred / soft edge as Slowtiger suggested - but I do agree with his idea!)Yosemite Sam wrote: ↑Thu May 23, 2024 2:56 am Yeah, I don't think the filled head is an option. But if all else fails I will have to present that to the team.

other options include filling at less that 100% opacity - which will have the effect of dimming the (occluded) bg lines (also as in Slowtiger's suggestions)
- MrMiracle77
- Posts: 189
- Joined: Mon Jun 24, 2019 2:30 am
Re: Animating with just lines
Try this layer composition:
- Character Bone Layer, enable masking; hide all
-- Copy of Background texture, mask this layer
-- Other body lines, don't mask, don't add to mask
-- Face layer, add to mask, exclude strokes
-- Other body lines, don't mask, don't add to mask
- Background Lines
- Background Texture (paper, whiteboard)
So what this should do is make a replica of your Background Texture into a component of the character. But you need to assign the Background Texture to a bone in the Bone Layer that is independent of the rest of the character rigging. That way, the background texture doesn't move with the rest of the character.
Another important consideration with this rigging is character scale. Because if you scale the Bone Layer, the scale of the Background Copy will no longer match the original background texture. I'd recommend using camera zoom to ensure they continue to match.
- Character Bone Layer, enable masking; hide all
-- Copy of Background texture, mask this layer
-- Other body lines, don't mask, don't add to mask
-- Face layer, add to mask, exclude strokes
-- Other body lines, don't mask, don't add to mask
- Background Lines
- Background Texture (paper, whiteboard)
So what this should do is make a replica of your Background Texture into a component of the character. But you need to assign the Background Texture to a bone in the Bone Layer that is independent of the rest of the character rigging. That way, the background texture doesn't move with the rest of the character.
Another important consideration with this rigging is character scale. Because if you scale the Bone Layer, the scale of the Background Copy will no longer match the original background texture. I'd recommend using camera zoom to ensure they continue to match.
- Dave
(As Your GM)
(As Your GM)
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Animating with just lines
You can try the render styles in the project settings. You can change the fill color to background for every shape there.






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Re: Animating with just lines
So simple! Beats me. And it's there since at least v9, but I never used it.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini Plus OS 13.5
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini Plus OS 13.5
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Animating with just lines
but that means there needs to be a fill for the renderer to change -- if (as in the OP) there's a closed shape but without fill, render with "fill style BG" notices the lack of (original) fill and doesn't "overwrite it" with BG colour.Víctor Paredes wrote: ↑Thu May 23, 2024 5:10 pm You can try the render styles in the project settings. You can change the fill color to background for every shape there.
- synthsin75
- Posts: 10264
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Animating with just lines
That wouldn't allow you to have a changing background color as a vector layer, if needed.Víctor Paredes wrote: ↑Thu May 23, 2024 5:10 pm You can try the render styles in the project settings. You can change the fill color to background for every shape there.
- 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: Animating with just lines
If you really need more than 1 BG colour in a scene you could easily render 2 versions with different colours and cut/dissolve in edit.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini Plus OS 13.5
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini Plus OS 13.5
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Animating with just lines
Use white for every fill and black for every stroke. Then create a layer on top of the project with a colored rectangle and set the blending to multiply.
You will be able to animate the fill color of the entire project with it.
You will be able to animate the fill color of the entire project with it.






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel