mirror of
https://github.com/3b1b/manim.git
synced 2025-08-04 16:19:20 +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):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
X_COLOR = GREEN
|
||||
Y_COLOR = RED
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
class WorkOutNumerically(Scene):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from fractions import Fraction
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
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):
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
class Introduction(TeacherStudentsScene):
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
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 *
|
||||
|
||||
class ShuffleThroughAllSequences(Scene):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
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 *
|
||||
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.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.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 *
|
||||
|
||||
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 *
|
||||
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from active_projects.eop.reusable_imports import *
|
||||
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -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.independence import *
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from active_projects.eop.reusable_imports import *
|
||||
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.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 *
|
||||
|
||||
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.combinations 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):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
from scene.scene import ProgressDisplay
|
||||
import scipy
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from once_useful_constructs.combinatorics import *
|
||||
|
||||
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_constants 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 *
|
||||
|
||||
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):
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -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.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 *
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
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.pendulum import Pendulum
|
||||
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 *
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
# 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 *
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
TIME_COLOR = YELLOW
|
||||
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
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
class WriteHeatEquationTemplate(Scene):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
# Helpers
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/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:
|
||||
# python -m manim example_scenes.py SquareToCircle -pl
|
||||
|
|
|
@ -139,7 +139,7 @@ def parse_cli():
|
|||
def get_module(file_name):
|
||||
if file_name == "-":
|
||||
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:
|
||||
exec(code, module.__dict__)
|
||||
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
|
||||
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
|
||||
addressible by changing this file.
|
||||
|
|
@ -49,5 +49,5 @@ def start_livestream(to_twitch=False, twitch_key=None):
|
|||
variables.update(locals())
|
||||
shell = code.InteractiveConsole(variables)
|
||||
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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
import warnings
|
||||
warnings.warn("""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
from old_projects.uncertainty import Flash
|
||||
from old_projects.WindingNumber import *
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
def apply_function_to_center(point_func, mobject):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
from once_useful_constructs.light import *
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from once_useful_constructs.light import *
|
||||
|
||||
import warnings
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
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
|
||||
|
||||
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.quaternions import SpecialThreeDScene
|
||||
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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from old_projects.brachistochrone.curves import *
|
||||
|
||||
class RollAlongVector(Animation):
|
||||
|
|
|
@ -9,7 +9,7 @@ import random
|
|||
from scipy.spatial.distance import cdist
|
||||
from scipy import ndimage
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
DEFAULT_GAUSS_BLUR_CONFIG = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import numpy as np
|
||||
import itertools as it
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
from old_projects.brachistochrone.curves import Cycloid
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import numpy as np
|
||||
import itertools as it
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
from old_projects.brachistochrone.curves import \
|
||||
Cycloid, PathSlidingScene, RANDY_SCALE_FACTOR, TryManyPaths
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import numpy as np
|
||||
import itertools as it
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from old_projects.brachistochrone.curves import Cycloid
|
||||
|
||||
class PhysicalIntuition(Scene):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import numpy as np
|
||||
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.curves import *
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import numpy as np
|
|||
import itertools as it
|
||||
import os
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from old_projects.brachistochrone.drawing_images import sort_by_color
|
||||
|
||||
class Intro(Scene):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
class EnumerableSaveScene(Scene):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
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"
|
||||
|
|
|
@ -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.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
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
class MirrorScene(Scene):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
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 Wall
|
||||
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.clacks.solution2.mirror_scenes import ReflectWorldThroughMirrorNew
|
||||
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
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import itertools as it
|
|||
from copy import deepcopy
|
||||
import sys
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from functools import reduce
|
||||
|
||||
DEFAULT_PLANE_CONFIG = {
|
||||
|
|
|
@ -6,7 +6,7 @@ import itertools as it
|
|||
from copy import deepcopy
|
||||
import sys
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
from script_wrapper import command_line_create_scene
|
||||
|
||||
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
|
||||
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 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
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
|
||||
class SimpleVelocityGraph(GraphScene):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
ADDER_COLOR = GREEN
|
||||
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
|
||||
|
||||
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):
|
||||
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
|
||||
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, \
|
||||
VELOCITY_COLOR, Car, MoveCar
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
SINE_COLOR = BLUE
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
class Chapter7OpeningQuote(OpeningQuote):
|
||||
CONFIG = {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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.chapter2 import Car, MoveCar, ShowSpeedometer, \
|
||||
IncrementNumber, GraphCarTrajectory, SecantLineToTangentLine, \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import scipy
|
||||
import fractions
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
from manimlib.imports import *
|
||||
|
||||
class Chapter9OpeningQuote(OpeningQuote):
|
||||
CONFIG = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import scipy
|
||||
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.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 #######
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue