This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Copy any font (folder name) to the $font variable from here: | |
| # https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts | |
| font=Meslo | |
| fontpath="$HOME/.local/share/fonts" | |
| version="2.3.3" | |
| wget https://github.com/ryanoasis/nerd-fonts/releases/download/v"$version"/$font.zip | |
| mkdir -p "$fontpath" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| media_dir = ./exports | |
| assets_dir = ./assets | |
| video_dir = {media_dir}/videos/{module_name}/{quality} | |
| images_dir = {media_dir}/images/{module_name}/{quality} | |
| tex_dir = ./tmp/Tex | |
| text_dir = ./tmp/texts | |
| partial_movie_dir = ./tmp/partial_movie_files/{module_name}/{quality}/{scene_name} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from manim import * | |
| # Change background color | |
| # config["background_color"] = GRAY | |
| # config["frame_rate"] = 25 | |
| # FRAME_HEIGHT = config["frame_height"] | |
| class WriteTex(Scene): | |
| def construct(self): | |
| tex = VGroup( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --------- IMPORTS | |
| from manimlib.imports import * | |
| from pathlib import Path | |
| # ---------- FLAGS | |
| RESOLUTION = "" | |
| FLAGS = f"-pl {RESOLUTION}" | |
| SCENE = "Test" | |
| class Test(Scene): |
NewerOlder