[manim] manim setting

JJeong723·2025년 3월 26일

setting

목록 보기
2/6

creating animation project using manim

install manim

1. virtualenv 설치

  1. virtualenv install
    python -m pip install --user -U virtualenv

  2. create vitualenv

    • virtualenv env
    • or python -m virtualenv env
    • env 폴더에 가상환경 설치
  3. activate virtualenv

    • Window source ./env/Scripts/activate
    • Linux/Mac source ./env/bin/activate
  4. deactivate virtualenv

    • deactivate

2. manim 설치

  1. install package
    • latex
    • manim
    • ffmpeg
  2. install latex
    pip install latex
  3. install manim
    pip install manim
  4. install ffmpeg (with Window)

3. manim 실행 테스트

  • Test manim
    manim
  1. Command method : executed manim custorm python file
  • manim -pql *.py outfile
    • *.py : custorm python file
    • outfile : 영상 파일 명
    • flag option
      • p : 즉시 영상 실행
      • ql : low quilty 영상 생성
      • 영상 퀄리티 설정
        • qk : fourk_quality - "2160p60"
        • qp : production_quality - "1440p60"
        • qh : high_quality - "1080p60"
        • qm : medium_quality - "720p30"
        • ql : low_quality - "480p15"
    • --format gif : gif 파일 생성
  1. VScode Extension : Manim Sideview
    • intrepter setting - ./env/Scripts/python.exe

References

0개의 댓글