mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
create manimlib.imports
This commit is contained in:
parent
be7b259274
commit
db1a89db79
164 changed files with 164 additions and 164 deletions
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
def get_factors(n):
|
def get_factors(n):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
X_COLOR = GREEN
|
X_COLOR = GREEN
|
||||||
Y_COLOR = RED
|
Y_COLOR = RED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class WorkOutNumerically(Scene):
|
class WorkOutNumerically(Scene):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from fractions import Fraction
|
from fractions import Fraction
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
#revert_to_original_skipping_status
|
#revert_to_original_skipping_status
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from active_projects.eop.bayes import IntroducePokerHand
|
from active_projects.eop.bayes import IntroducePokerHand
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
class Birthday(Scene):
|
class Birthday(Scene):
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
class Introduction(TeacherStudentsScene):
|
class Introduction(TeacherStudentsScene):
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
class Introduction(TeacherStudentsScene):
|
class Introduction(TeacherStudentsScene):
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
class ShuffleThroughAllSequences(Scene):
|
class ShuffleThroughAllSequences(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class IllustrateAreaModelBayes(Scene):
|
class IllustrateAreaModelBayes(Scene):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.eoc.chapter8 import *
|
from old_projects.eoc.chapter8 import *
|
||||||
|
|
||||||
import scipy.special
|
import scipy.special
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
from active_projects.eop.chapter1.brick_row_scene import BrickRowScene
|
from active_projects.eop.chapter1.brick_row_scene import BrickRowScene
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
class Chapter1OpeningQuote(OpeningQuote):
|
class Chapter1OpeningQuote(OpeningQuote):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
class JustFlipping(Scene):
|
class JustFlipping(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
class GenericMorphBrickRowIntoHistogram(Scene):
|
class GenericMorphBrickRowIntoHistogram(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
from active_projects.eop.independence import *
|
from active_projects.eop.independence import *
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class ProbabilityRect(VMobject):
|
class ProbabilityRect(VMobject):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
class ShowUncertaintyDice(Scene):
|
class ShowUncertaintyDice(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
|
|
||||||
class RandyThinksAboutCoin(PiCreatureScene):
|
class RandyThinksAboutCoin(PiCreatureScene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusable_imports import *
|
from active_projects.eop.reusable_imports import *
|
||||||
from active_projects.eop.combinations import *
|
from active_projects.eop.combinations import *
|
||||||
from active_projects.eop.independence import *
|
from active_projects.eop.independence import *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class WhatDoesItReallyMean(TeacherStudentsScene):
|
class WhatDoesItReallyMean(TeacherStudentsScene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
def print_permutation(index_list):
|
def print_permutation(index_list):
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
#revert_to_original_skipping_status
|
#revert_to_original_skipping_status
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from scene.scene import ProgressDisplay
|
from scene.scene import ProgressDisplay
|
||||||
import scipy
|
import scipy
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from once_useful_constructs.combinatorics import *
|
from once_useful_constructs.combinatorics import *
|
||||||
|
|
||||||
nb_levels = 5
|
nb_levels = 5
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.eop.reusables.eop_helpers import *
|
from active_projects.eop.reusables.eop_helpers import *
|
||||||
from active_projects.eop.reusables.eop_constants import *
|
from active_projects.eop.reusables.eop_constants import *
|
||||||
from active_projects.eop.reusables.upright_coins import *
|
from active_projects.eop.reusables.upright_coins import *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from random import *
|
from random import *
|
||||||
|
|
||||||
def text_range(start,stop,step): # a range as a list of strings
|
def text_range(start,stop,step): # a range as a list of strings
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
class WhatDoesItReallyMean(TeacherStudentsScene):
|
class WhatDoesItReallyMean(TeacherStudentsScene):
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class ComplexAnalysisOverlay(Scene):
|
class ComplexAnalysisOverlay(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part1.shared_constructs import *
|
from active_projects.ode.part1.shared_constructs import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part1.shared_constructs import *
|
from active_projects.ode.part1.shared_constructs import *
|
||||||
from active_projects.ode.part1.pendulum import Pendulum
|
from active_projects.ode.part1.pendulum import Pendulum
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part1.shared_constructs import *
|
from active_projects.ode.part1.shared_constructs import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
Lg_formula_config = {
|
Lg_formula_config = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part1.shared_constructs import *
|
from active_projects.ode.part1.shared_constructs import *
|
||||||
from active_projects.ode.part1.pendulum import Pendulum
|
from active_projects.ode.part1.pendulum import Pendulum
|
||||||
from active_projects.ode.part1.pendulum import ThetaVsTAxes
|
from active_projects.ode.part1.pendulum import ThetaVsTAxes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part1.shared_constructs import *
|
from active_projects.ode.part1.shared_constructs import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
# import scipy
|
# import scipy
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part2.shared_constructs import *
|
from active_projects.ode.part2.shared_constructs import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part2.wordy_scenes import WriteHeatEquationTemplate
|
from active_projects.ode.part2.wordy_scenes import WriteHeatEquationTemplate
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
TIME_COLOR = YELLOW
|
TIME_COLOR = YELLOW
|
||||||
X_COLOR = GREEN
|
X_COLOR = GREEN
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from active_projects.ode.part1.staging import TourOfDifferentialEquations
|
from active_projects.ode.part1.staging import TourOfDifferentialEquations
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class WriteHeatEquationTemplate(Scene):
|
class WriteHeatEquationTemplate(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
# Helpers
|
# Helpers
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
# To watch one of these scenes, run the following:
|
# To watch one of these scenes, run the following:
|
||||||
# python -m manim example_scenes.py SquareToCircle -pl
|
# python -m manim example_scenes.py SquareToCircle -pl
|
||||||
|
|
|
@ -139,7 +139,7 @@ def parse_cli():
|
||||||
def get_module(file_name):
|
def get_module(file_name):
|
||||||
if file_name == "-":
|
if file_name == "-":
|
||||||
module = types.ModuleType("input_scenes")
|
module = types.ModuleType("input_scenes")
|
||||||
code = "from big_ol_pile_of_manim_imports import *\n\n" + sys.stdin.read()
|
code = "from manimlib.imports import *\n\n" + sys.stdin.read()
|
||||||
try:
|
try:
|
||||||
exec(code, module.__dict__)
|
exec(code, module.__dict__)
|
||||||
return module
|
return module
|
||||||
|
|
|
@ -5,7 +5,7 @@ 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
|
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
|
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
|
"from manimlib.imports import *". The effects of adding more modules
|
||||||
or refactoring the library on current or older scene scripts should be entirely
|
or refactoring the library on current or older scene scripts should be entirely
|
||||||
addressible by changing this file.
|
addressible by changing this file.
|
||||||
|
|
|
@ -49,5 +49,5 @@ def start_livestream(to_twitch=False, twitch_key=None):
|
||||||
variables.update(locals())
|
variables.update(locals())
|
||||||
shell = code.InteractiveConsole(variables)
|
shell = code.InteractiveConsole(variables)
|
||||||
shell.push("manim = Manim()")
|
shell.push("manim = Manim()")
|
||||||
shell.push("from big_ol_pile_of_manim_imports import *")
|
shell.push("from manimlib.imports import *")
|
||||||
shell.interact(banner=manimlib.constants.STREAMING_CONSOLE_BANNER)
|
shell.interact(banner=manimlib.constants.STREAMING_CONSOLE_BANNER)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from old_projects.crypto import sha256_tex_mob, bit_string_to_mobject, BitcoinLogo
|
from old_projects.crypto import sha256_tex_mob, bit_string_to_mobject, BitcoinLogo
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
warnings.warn("""
|
warnings.warn("""
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from old_projects.uncertainty import Flash
|
from old_projects.uncertainty import Flash
|
||||||
from old_projects.WindingNumber import *
|
from old_projects.WindingNumber import *
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
def apply_function_to_center(point_func, mobject):
|
def apply_function_to_center(point_func, mobject):
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from once_useful_constructs.light import *
|
from once_useful_constructs.light import *
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from once_useful_constructs.light import *
|
from once_useful_constructs.light import *
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from tqdm import tqdm as ProgressDisplay
|
from tqdm import tqdm as ProgressDisplay
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|
||||||
class Jewel(VMobject):
|
class Jewel(VMobject):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.lost_lecture import GeometryProofLand
|
from old_projects.lost_lecture import GeometryProofLand
|
||||||
from old_projects.quaternions import SpecialThreeDScene
|
from old_projects.quaternions import SpecialThreeDScene
|
||||||
from old_projects.uncertainty import Flash
|
from old_projects.uncertainty import Flash
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
RANDY_SCALE_FACTOR = 0.3
|
RANDY_SCALE_FACTOR = 0.3
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.brachistochrone.curves import *
|
from old_projects.brachistochrone.curves import *
|
||||||
|
|
||||||
class RollAlongVector(Animation):
|
class RollAlongVector(Animation):
|
||||||
|
|
|
@ -9,7 +9,7 @@ import random
|
||||||
from scipy.spatial.distance import cdist
|
from scipy.spatial.distance import cdist
|
||||||
from scipy import ndimage
|
from scipy import ndimage
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_GAUSS_BLUR_CONFIG = {
|
DEFAULT_GAUSS_BLUR_CONFIG = {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import itertools as it
|
import itertools as it
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from old_projects.brachistochrone.curves import Cycloid
|
from old_projects.brachistochrone.curves import Cycloid
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import itertools as it
|
import itertools as it
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from old_projects.brachistochrone.curves import \
|
from old_projects.brachistochrone.curves import \
|
||||||
Cycloid, PathSlidingScene, RANDY_SCALE_FACTOR, TryManyPaths
|
Cycloid, PathSlidingScene, RANDY_SCALE_FACTOR, TryManyPaths
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import itertools as it
|
import itertools as it
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.brachistochrone.curves import Cycloid
|
from old_projects.brachistochrone.curves import Cycloid
|
||||||
|
|
||||||
class PhysicalIntuition(Scene):
|
class PhysicalIntuition(Scene):
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import itertools as it
|
import itertools as it
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.brachistochrone.light import PhotonScene
|
from old_projects.brachistochrone.light import PhotonScene
|
||||||
from old_projects.brachistochrone.curves import *
|
from old_projects.brachistochrone.curves import *
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import numpy as np
|
||||||
import itertools as it
|
import itertools as it
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.brachistochrone.drawing_images import sort_by_color
|
from old_projects.brachistochrone.drawing_images import sort_by_color
|
||||||
|
|
||||||
class Intro(Scene):
|
class Intro(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class EnumerableSaveScene(Scene):
|
class EnumerableSaveScene(Scene):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.clacks.question import BlocksAndWallExample
|
from old_projects.clacks.question import BlocksAndWallExample
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
OUTPUT_DIRECTORY = "clacks/question"
|
OUTPUT_DIRECTORY = "clacks/question"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.clacks.question import *
|
from old_projects.clacks.question import *
|
||||||
from old_projects.div_curl import ShowTwoPopulations
|
from old_projects.div_curl import ShowTwoPopulations
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.clacks.question import BlocksAndWallExample
|
from old_projects.clacks.question import BlocksAndWallExample
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class MirrorScene(Scene):
|
class MirrorScene(Scene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class OnAnsweringTwice(TeacherStudentsScene):
|
class OnAnsweringTwice(TeacherStudentsScene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.clacks.question import Block
|
from old_projects.clacks.question import Block
|
||||||
from old_projects.clacks.question import Wall
|
from old_projects.clacks.question import Wall
|
||||||
from old_projects.clacks.question import ClackFlashes
|
from old_projects.clacks.question import ClackFlashes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.lost_lecture import ShowWord
|
from old_projects.lost_lecture import ShowWord
|
||||||
from old_projects.clacks.solution2.mirror_scenes import ReflectWorldThroughMirrorNew
|
from old_projects.clacks.solution2.mirror_scenes import ReflectWorldThroughMirrorNew
|
||||||
from old_projects.clacks.question import Thumbnail
|
from old_projects.clacks.question import Thumbnail
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.clacks.solution2.position_phase_space import ShowMomentumConservation
|
from old_projects.clacks.solution2.position_phase_space import ShowMomentumConservation
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import itertools as it
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|
||||||
DEFAULT_PLANE_CONFIG = {
|
DEFAULT_PLANE_CONFIG = {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import itertools as it
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from script_wrapper import command_line_create_scene
|
from script_wrapper import command_line_create_scene
|
||||||
|
|
||||||
MOVIE_PREFIX = "counting_in_binary/"
|
MOVIE_PREFIX = "counting_in_binary/"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from hashlib import sha256
|
from hashlib import sha256
|
||||||
import binascii
|
import binascii
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
from old_projects.lost_lecture import Orbiting
|
from old_projects.lost_lecture import Orbiting
|
||||||
from old_projects.lost_lecture import ShowWord
|
from old_projects.lost_lecture import ShowWord
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
# Quick note to anyone coming to this file with the
|
# Quick note to anyone coming to this file with the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
class SimpleVelocityGraph(GraphScene):
|
class SimpleVelocityGraph(GraphScene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
ADDER_COLOR = GREEN
|
ADDER_COLOR = GREEN
|
||||||
MULTIPLIER_COLOR = YELLOW
|
MULTIPLIER_COLOR = YELLOW
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.eoc.chapter2 import Car, MoveCar
|
from old_projects.eoc.chapter2 import Car, MoveCar
|
||||||
|
|
||||||
class CircleScene(PiCreatureScene):
|
class CircleScene(PiCreatureScene):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
def derivative(func, x, n = 1, dx = 0.01):
|
def derivative(func, x, n = 1, dx = 0.01):
|
||||||
samples = [func(x + (k - n/2)*dx) for k in range(n+1)]
|
samples = [func(x + (k - n/2)*dx) for k in range(n+1)]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
DISTANCE_COLOR = BLUE
|
DISTANCE_COLOR = BLUE
|
||||||
TIME_COLOR = YELLOW
|
TIME_COLOR = YELLOW
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.eoc.chapter2 import DISTANCE_COLOR, TIME_COLOR, \
|
from old_projects.eoc.chapter2 import DISTANCE_COLOR, TIME_COLOR, \
|
||||||
VELOCITY_COLOR, Car, MoveCar
|
VELOCITY_COLOR, Car, MoveCar
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
SINE_COLOR = BLUE
|
SINE_COLOR = BLUE
|
||||||
X_SQUARED_COLOR = GREEN
|
X_SQUARED_COLOR = GREEN
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.eoc.chapter4 import ThreeLinesChainRule
|
from old_projects.eoc.chapter4 import ThreeLinesChainRule
|
||||||
|
|
||||||
class ExpFootnoteOpeningQuote(OpeningQuote):
|
class ExpFootnoteOpeningQuote(OpeningQuote):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
SPACE_UNIT_TO_PLANE_UNIT = 0.75
|
SPACE_UNIT_TO_PLANE_UNIT = 0.75
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
class Chapter7OpeningQuote(OpeningQuote):
|
class Chapter7OpeningQuote(OpeningQuote):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import scipy
|
import scipy
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.eoc.chapter1 import Thumbnail as Chapter1Thumbnail
|
from old_projects.eoc.chapter1 import Thumbnail as Chapter1Thumbnail
|
||||||
from old_projects.eoc.chapter2 import Car, MoveCar, ShowSpeedometer, \
|
from old_projects.eoc.chapter2 import Car, MoveCar, ShowSpeedometer, \
|
||||||
IncrementNumber, GraphCarTrajectory, SecantLineToTangentLine, \
|
IncrementNumber, GraphCarTrajectory, SecantLineToTangentLine, \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import scipy
|
import scipy
|
||||||
import fractions
|
import fractions
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
class Chapter9OpeningQuote(OpeningQuote):
|
class Chapter9OpeningQuote(OpeningQuote):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import scipy
|
import scipy
|
||||||
import math
|
import math
|
||||||
|
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
from old_projects.eoc.chapter1 import Car, MoveCar
|
from old_projects.eoc.chapter1 import Car, MoveCar
|
||||||
from old_projects.eoc.chapter10 import derivative
|
from old_projects.eoc.chapter10 import derivative
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from big_ol_pile_of_manim_imports import *
|
from manimlib.imports import *
|
||||||
|
|
||||||
|
|
||||||
#### Warning, scenes here not updated based on most recent GraphScene changes #######
|
#### Warning, scenes here not updated based on most recent GraphScene changes #######
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue