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))
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:
Wrong display or Error traceback:
Additional context
Apparently the internally used points are wrong, see get_shader_data().