Wrong curve when using Manim Ellipse
Author: Igittigitt24Created Mar 10, 2026Updated Mar 22, 2026
Labelsbug
Describe the bug
The curve of the ellipse is too small! The curve must interpolate the four vertices A,B,C,D but it doesn't!
Code:
from manim import *
class EllipseExample(Scene):
def construct(self):
w, h = 3.0, 2.0
ellipse_1 = Ellipse(width=w*2, height=h*2, color=BLUE_B)
self.add(ellipse_1)
A, B, C, D = Dot([-w,0,0]), Dot([w,0,0]), Dot([0,-h,0]), Dot([0,h,0])
self.add(A, B, C, D)
self.add(Line([-w*1.1, 0, 0], [w*1.1, 0, 0], color=GRAY))
self.add(Line([0, -h*1.1, 0], [0, h*1.1, 0], color=GRAY))
Wrong display or Error traceback:
Additional context
Apparently the internally used points are wrong, see get_shader_data().
Source: 3b1b/manim