manim icon indicating copy to clipboard operation
manim copied to clipboard

Fix: remove gradient color artifacts by earcut-based triangulation

Open ZaildarAnmol opened this issue 3 months ago • 1 comments

Problem: gradient fills show extra colors due to overlapping triangle fan. Fix: non-overlapping triangulation using mapbox_earcut (outer ring + holes). Fallback to previous triangulation if dependency absent. Tested on the minimal scene from issue #2387/#2382 and several concave/holed shapes; artifacts are gone. No API changes; performance comparable for typical glyphs/shapes.

Fixes #2387

ZaildarAnmol avatar Oct 30 '25 18:10 ZaildarAnmol

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

Vegeorca avatar Oct 30 '25 18:10 Vegeorca