Why is the arrow not rendering to the right

1 week ago 14
ARTICLE AD BOX
from manim import * class DefaultTemplate(Scene): def construct(self): self.add(Line([1, -1, 0], [1, 1, 0])) self.play(Create(Line([0, 1, 0], [0, -1, 0]))) self.wait(.1) self.play(DrawBorderThenFill(VGroup( Dot(stroke_width=.1, color=ManimColor('#00FF00')), Dot([.5, .5, 0], stroke_width=.1, color=ManimColor('#00FF00')) ), run_time=.4)) self.wait(.1) self.play(Create(Arrow([-1, -1, 0], [1, 1, 0], color=ManimColor('#00FF00'), max_tip_length_to_length_ratio=.1), run_time=.5)) self.wait(.1) self.play( DrawBorderThenFill(VGroup( Dot([0, -.17, 0], stroke_width=.1, color=ManimColor('#0000FF')), Dot([.9, .32, 0], stroke_width=.1, color=ManimColor('#0000FF')) ), run_time=.3), Create(Arrow([-1, -.71, 0], [1, .37, 0], color=ManimColor('#0000FF'), max_tip_length_to_length_ratio=.1), run_time=.5)) self.wait(1)

enter image description here

The white line on the right should be on the very edge of the image, the arrows should also reach the very end, however they seem to be in a square, what am I doing wrong?

This is rendering in 1080p portrait but should support all resolutions

Read Entire Article