Skip to content

Commit

Permalink
removed the fadein
Browse files Browse the repository at this point in the history
  • Loading branch information
martawleklinska committed Jun 24, 2024
1 parent 1825d8b commit b479356
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
name: Render movie
# name: Render movie

# on:
# push:
# branches:
# - '*'
# - '!main'
# # on:
# # push:
# # branches:
# # - '*'
# # - '!main'

permissions:
contents: read
# permissions:
# contents: read

jobs:
render_hq:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ ffmpeg texlive-latex-extra --fix-missing
- name: Install fonts
run: |
mkdir ~/texmf
curl -L -o ~/texmf/mnsymbol.zip https://mirrors.ctan.org/fonts/mnsymbol.zip
unzip ~/texmf/mnsymbol.zip -d ~/texmf
cd ~/texmf/mnsymbol/tex && ls && latex MnSymbol.ins
mkdir -p ~/texmf/tex/latex/MnSymbol/
cp ~/texmf/mnsymbol/tex/MnSymbol.sty ~/texmf/tex/latex/MnSymbol/
mkdir -p ~/texmf/fonts/tfm/public/MnSymbol
cp ~/texmf/mnsymbol/tfm/* ~/texmf/fonts/tfm/public/MnSymbol
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install manim-editor #Temporary, install here as it
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Render movie (manim)
run: |
python -m manim -p -qh zkmarek/video/main.py
- uses: actions/upload-artifact@v3
with:
name: Movie HQ
path: media/videos/main/1080p60/EllipticCurves.mp4
retention-days: 5
# jobs:
# render_hq:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Install apt dependencies
# run: |
# sudo apt-get update
# sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ ffmpeg texlive-latex-extra --fix-missing
# - name: Install fonts
# run: |
# mkdir ~/texmf
# curl -L -o ~/texmf/mnsymbol.zip https://mirrors.ctan.org/fonts/mnsymbol.zip
# unzip ~/texmf/mnsymbol.zip -d ~/texmf
# cd ~/texmf/mnsymbol/tex && ls && latex MnSymbol.ins
# mkdir -p ~/texmf/tex/latex/MnSymbol/
# cp ~/texmf/mnsymbol/tex/MnSymbol.sty ~/texmf/tex/latex/MnSymbol/
# mkdir -p ~/texmf/fonts/tfm/public/MnSymbol
# cp ~/texmf/mnsymbol/tfm/* ~/texmf/fonts/tfm/public/MnSymbol
# - name: Set up Python 3.11
# uses: actions/setup-python@v4
# with:
# python-version: '3.11'
# cache: 'pip'
# - name: Install pip dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install manim-editor #Temporary, install here as it
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Render movie (manim)
# run: |
# python -m manim -p -qh zkmarek/video/main.py
# - uses: actions/upload-artifact@v3
# with:
# name: Movie HQ
# path: media/videos/main/1080p60/EllipticCurves.mp4
# retention-days: 5

2 changes: 1 addition & 1 deletion zkmarek/video/slides/short1/short.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def animate_wrapping(self, scene):
)
for line in self.plane.family_members_with_points():
line_points = line.points
scene.play(FadeIn(line_points), run_time=0.05)
# scene.play(FadeIn(line_points), run_time=0.05)
new_line_points = [
self.stereographic_projection(p[0], p[1]) for p in line_points
]
Expand Down

0 comments on commit b479356

Please sign in to comment.