manim icon indicating copy to clipboard operation
manim copied to clipboard

Curved VMobject Create Animation Stroke

Open nubDotDev opened this issue 2 years ago • 1 comments

Description of bug / unexpected behavior

When you Create a VMobject with a thick stroke, the path cuts off weirdly (look in bottom left corner of image)

Expected behavior

It should be smooth!

How to reproduce the issue

I created the VMobject using set_points_smoothly.

image

nubDotDev avatar Aug 06 '23 21:08 nubDotDev

Reproduced in Inkscape, not a problem with Manim but with vector graphics generally. (click this)

image

This is caused by a sharp turn at the end. Make it smooth and set the cap to be round, which gets you cca this result.

image

vaclavblazej avatar Aug 21 '23 14:08 vaclavblazej