forked from 3b1b/manim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
big_ol_pile_of_manim_imports.py
105 lines (90 loc) · 3.37 KB
/
big_ol_pile_of_manim_imports.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
"""
I won't pretend like this is best practice, by in creating animations for a video,
it can be very nice to simply have all of the Mobjects, Animations, Scenes, etc.
of manim available without having to worry about what namespace they come from.
Rather than having a large pile of "from <module> import *" at the top of every such
script, the intent of this file is to make it so that one can just include
"from big_ol_pile_of_manim_imports import *". The effects of adding more modules
or refactoring the library on current or older scene scripts should be entirely
addressible by changing this file.
Note: One should NOT import from this file for main library code, it is meant only
as a convenience for scripts createing scenes for videos
"""
from constants import *
from animation.animation import *
from animation.composition import *
from animation.creation import *
from animation.indication import *
from animation.movement import *
from animation.numbers import *
from animation.rotation import *
from animation.specialized import *
from animation.transform import *
from animation.update import *
from camera.camera import *
from camera.mapping_camera import *
from camera.moving_camera import *
from camera.three_d_camera import *
from continual_animation.continual_animation import *
from continual_animation.from_animation import *
from continual_animation.numbers import *
from continual_animation.update import *
from mobject.frame import *
from mobject.functions import *
from mobject.geometry import *
from mobject.matrix import *
from mobject.mobject import *
from mobject.number_line import *
from mobject.numbers import *
from mobject.probability import *
from mobject.shape_matchers import *
from mobject.svg.brace import *
from mobject.svg.svg_mobject import *
from mobject.svg.tex_mobject import *
from mobject.three_dimensions import *
from mobject.types.image_mobject import *
from mobject.types.point_cloud_mobject import *
from mobject.types.vectorized_mobject import *
from mobject.value_tracker import *
from for_3b1b_videos.common_scenes import *
from for_3b1b_videos.pi_creature import *
from for_3b1b_videos.pi_creature_animations import *
from for_3b1b_videos.pi_creature_scene import *
from scene.graph_scene import *
from scene.moving_camera_scene import *
from scene.reconfigurable_scene import *
from scene.scene import *
from scene.scene_from_video import *
from scene.three_d_scene import *
from scene.vector_space_scene import *
from scene.zoomed_scene import *
from once_useful_constructs.arithmetic import *
from once_useful_constructs.combinatorics import *
from once_useful_constructs.complex_transformation_scene import *
from once_useful_constructs.counting import *
from once_useful_constructs.fractals import *
from once_useful_constructs.graph_theory import *
from once_useful_constructs.light import *
from utils.bezier import *
from utils.color import *
from utils.config_ops import *
from utils.images import *
from utils.iterables import *
from utils.paths import *
from utils.rate_functions import *
from utils.simple_functions import *
from utils.sounds import *
from utils.space_ops import *
from utils.strings import *
# Non manim libraries that are also nice to have without thinking
import inspect
import itertools as it
import numpy as np
import operator as op
import os
import random
import re
import string
import sys
from PIL import Image
from colour import Color