Closed germanzhu closed 2 months ago
Video is squished on using aspect ratios other than 1920x1080 or 16:9.
This PR attempts to address this issue.
Code:
from manimlib import * class Video(Scene): def construct(self): s = Square() c = Circle() self.play(ShowCreation(s)) self.play(Transform(s,c))
manimgl test.py -r 1080x1920 -wo
Result:
https://github.com/3b1b/manim/assets/15604323/ba2a72f3-6bb2-4fcb-85d9-62d7473cc495
Motivation
Video is squished on using aspect ratios other than 1920x1080 or 16:9.
This PR attempts to address this issue.
Proposed changes
Test
Code:
manimgl test.py -r 1080x1920 -wo
Result:
https://github.com/3b1b/manim/assets/15604323/ba2a72f3-6bb2-4fcb-85d9-62d7473cc495