Unusual flattening on thick outlines with tight bends

Hello,
I’ve been exploring different techniques for animating a continuous body that can overlap with itself multiple times. This includes things like rope, long tails, and this worm friend below. My most recent attempt involved using thick outline layers with linked duplicates for each overlap. The method seems promising, however, there is an unusual effect where the outline crimps and flattens as the spline bend becomes sharper. This can be seen on the worm gif as it rotates through the front-facing angles which interrupts an otherwise decent looking animation.
wormRotate
Does anyone have any suggestions for workarounds or perhaps a solution to this outline effect? I’ve found that it happens with both outline and advanced outline layers, but it does not happen when rendering similar strokes directly with the Cairo graphics library. I’m working on Linux Debian 10. Thanks in advance.

1 Like

What is your Synfig version? 1.2.2, 1.4.0, cloned from repository or another release?

It would be good to see the tangent vectors/values of splines in those specific frames.

Nice technique by the way!

Thanks!

I had been using a repository build that was a couple months old. Yesterday I rebuilt with the latest commit (bbb2dd7), but both have the same phenomenon.

Here’s the source file for the animation. The spline has only 4 nodes. I tried before with more nodes at the peaks, but they would do some crazy twisting as it interpolated from 180 to -180 degrees.


WormRotate.sifz (38.7 KB)

2 Likes