file_path stringlengths 21 66 | content stringlengths 0 219k |
|---|---|
videos_3b1b/README.md | This project contains the code used to generate the explanatory math videos found on [3Blue1Brown](https://www.3blue1brown.com/).
This almost entirely consists of scenes generated using the library [Manim](https://github.com/3b1b/manim). See also the community maintained version at [ManimCommunity](https://github.com... |
videos_3b1b/stage_scenes.py | #!/usr/bin/env python
import inspect
import os
import sys
import importlib
from manimlib.config import get_module
from manimlib.extract_scene import is_child_scene
def get_sorted_scene_classes(module_name):
module = get_module(module_name)
if hasattr(module, "SCENES_IN_ORDER"):
return module.SCENES_I... |
videos_3b1b/manim_imports_ext.py | from manimlib import *
from manimlib.mobject.svg.old_tex_mobject import *
from custom.backdrops import *
from custom.banner import *
from custom.characters.pi_creature import *
from custom.characters.pi_creature_animations import *
from custom.characters.pi_creature_scene import *
from custom.deprecated import *
from ... |
videos_3b1b/custom_config.yml | directories:
mirror_module_path: True
removed_mirror_prefix: "/Users/grant/cs/videos/"
output: "/Users/grant/3Blue1Brown Dropbox/3Blue1Brown/videos"
raster_images: "/Users/grant/3Blue1Brown Dropbox/3Blue1Brown/images/raster"
vector_images: "/Users/grant/3Blue1Brown Dropbox/3Blue1Brown/images/vector"
pi_crea... |
videos_3b1b/_2017/borsuk.py | from manim_imports_ext import *
from functools import reduce
class Jewel(VMobject):
CONFIG = {
"color" : WHITE,
"fill_opacity" : 0.75,
"stroke_width" : 0,
"height" : 0.5,
"num_equator_points" : 5,
"sun_vect" : OUT+LEFT+UP,
}
def init_points(self):
for... |
videos_3b1b/_2017/triples.py | import fractions
from manim_imports_ext import *
A_COLOR = BLUE
B_COLOR = GREEN
C_COLOR = YELLOW
SIDE_COLORS = [A_COLOR, B_COLOR, C_COLOR]
U_COLOR = GREEN
V_COLOR = RED
#revert_to_original_skipping_status
def complex_string_with_i(z):
if z.real == 0:
return str(int(z.imag)) + "i"
elif z.imag == 0:
... |
videos_3b1b/_2017/gradient.py | "from manim_imports_ext import *\n\n\n# Warning, this file uses ContinualChangingDecimal,\n# which h(...TRUNCATED) |
videos_3b1b/_2017/highD.py | "from manim_imports_ext import *\n\n##########\n#force_skipping\n#revert_to_original_skipping_status(...TRUNCATED) |
videos_3b1b/_2017/qa_round_two.py | "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nfrom manim_imports_ext import *\nfrom _2017.efvgt(...TRUNCATED) |
videos_3b1b/_2017/efvgt.py | "from manim_imports_ext import *\n\nADDER_COLOR = GREEN\nMULTIPLIER_COLOR = YELLOW\n\ndef normalize((...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 12