diff --git a/active_projects/aliquot.py b/active_projects/aliquot.py index 1597af2b..713f573d 100644 --- a/active_projects/aliquot.py +++ b/active_projects/aliquot.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * def get_factors(n): diff --git a/active_projects/eola2/cramer.py b/active_projects/eola2/cramer.py index 2b83c2a4..1b46660a 100644 --- a/active_projects/eola2/cramer.py +++ b/active_projects/eola2/cramer.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * X_COLOR = GREEN Y_COLOR = RED diff --git a/active_projects/eola2/determinant_puzzle.py b/active_projects/eola2/determinant_puzzle.py index 5e59c376..35bb7360 100644 --- a/active_projects/eola2/determinant_puzzle.py +++ b/active_projects/eola2/determinant_puzzle.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class WorkOutNumerically(Scene): diff --git a/active_projects/eola2/gauss.py b/active_projects/eola2/gauss.py index 60c8c150..40ef0a10 100644 --- a/active_projects/eola2/gauss.py +++ b/active_projects/eola2/gauss.py @@ -1,6 +1,6 @@ from fractions import Fraction -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from functools import reduce diff --git a/active_projects/eop/bayes.py b/active_projects/eop/bayes.py index 87d53a42..95df1be7 100644 --- a/active_projects/eop/bayes.py +++ b/active_projects/eop/bayes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * #revert_to_original_skipping_status diff --git a/active_projects/eop/bayes_footnote.py b/active_projects/eop/bayes_footnote.py index d4d79a0d..fe1de7fd 100644 --- a/active_projects/eop/bayes_footnote.py +++ b/active_projects/eop/bayes_footnote.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.bayes import IntroducePokerHand diff --git a/active_projects/eop/birthday.py b/active_projects/eop/birthday.py index 7fae9bf9..78126eff 100644 --- a/active_projects/eop/birthday.py +++ b/active_projects/eop/birthday.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class Birthday(Scene): diff --git a/active_projects/eop/chapter0.py b/active_projects/eop/chapter0.py index 553b0714..5a6015ed 100644 --- a/active_projects/eop/chapter0.py +++ b/active_projects/eop/chapter0.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class Introduction(TeacherStudentsScene): diff --git a/active_projects/eop/chapter0/intro.py b/active_projects/eop/chapter0/intro.py index 553b0714..5a6015ed 100644 --- a/active_projects/eop/chapter0/intro.py +++ b/active_projects/eop/chapter0/intro.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class Introduction(TeacherStudentsScene): diff --git a/active_projects/eop/chapter1/all_sequences.py b/active_projects/eop/chapter1/all_sequences.py index 5954c249..97ff42e0 100644 --- a/active_projects/eop/chapter1/all_sequences.py +++ b/active_projects/eop/chapter1/all_sequences.py @@ -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): diff --git a/active_projects/eop/chapter1/area_model_bayes.py b/active_projects/eop/chapter1/area_model_bayes.py index 747bfcf7..3cb0bc1b 100644 --- a/active_projects/eop/chapter1/area_model_bayes.py +++ b/active_projects/eop/chapter1/area_model_bayes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class IllustrateAreaModelBayes(Scene): diff --git a/active_projects/eop/chapter1/area_model_erf.py b/active_projects/eop/chapter1/area_model_erf.py index 0b975836..98608843 100644 --- a/active_projects/eop/chapter1/area_model_erf.py +++ b/active_projects/eop/chapter1/area_model_erf.py @@ -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 diff --git a/active_projects/eop/chapter1/area_model_expectation.py b/active_projects/eop/chapter1/area_model_expectation.py index 875702bc..345324b4 100644 --- a/active_projects/eop/chapter1/area_model_expectation.py +++ b/active_projects/eop/chapter1/area_model_expectation.py @@ -1,5 +1,5 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/brick_row_scene.py b/active_projects/eop/chapter1/brick_row_scene.py index 05e1976a..5f1efc83 100644 --- a/active_projects/eop/chapter1/brick_row_scene.py +++ b/active_projects/eop/chapter1/brick_row_scene.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/entire_brick_wall.py b/active_projects/eop/chapter1/entire_brick_wall.py index 72a7520e..34f23317 100644 --- a/active_projects/eop/chapter1/entire_brick_wall.py +++ b/active_projects/eop/chapter1/entire_brick_wall.py @@ -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 diff --git a/active_projects/eop/chapter1/intro.py b/active_projects/eop/chapter1/intro.py index ad7c858e..f503c14e 100644 --- a/active_projects/eop/chapter1/intro.py +++ b/active_projects/eop/chapter1/intro.py @@ -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): diff --git a/active_projects/eop/chapter1/just_randy_flipping_coin.py b/active_projects/eop/chapter1/just_randy_flipping_coin.py index abc95ef4..580f70de 100644 --- a/active_projects/eop/chapter1/just_randy_flipping_coin.py +++ b/active_projects/eop/chapter1/just_randy_flipping_coin.py @@ -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): diff --git a/active_projects/eop/chapter1/million_flips.py b/active_projects/eop/chapter1/million_flips.py index 8f37c2c6..84ff4b74 100644 --- a/active_projects/eop/chapter1/million_flips.py +++ b/active_projects/eop/chapter1/million_flips.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/morph_brick_row_into_histogram.py b/active_projects/eop/chapter1/morph_brick_row_into_histogram.py index ff5e8304..0223c699 100644 --- a/active_projects/eop/chapter1/morph_brick_row_into_histogram.py +++ b/active_projects/eop/chapter1/morph_brick_row_into_histogram.py @@ -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): diff --git a/active_projects/eop/chapter1/prob_dist_visuals.py b/active_projects/eop/chapter1/prob_dist_visuals.py index ed692c8b..127d9800 100644 --- a/active_projects/eop/chapter1/prob_dist_visuals.py +++ b/active_projects/eop/chapter1/prob_dist_visuals.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/quiz_result.py b/active_projects/eop/chapter1/quiz_result.py index 4e4ec755..fc8cb290 100644 --- a/active_projects/eop/chapter1/quiz_result.py +++ b/active_projects/eop/chapter1/quiz_result.py @@ -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 * diff --git a/active_projects/eop/chapter1/show_proportion.py b/active_projects/eop/chapter1/show_proportion.py index 9bb266ad..9711b94f 100644 --- a/active_projects/eop/chapter1/show_proportion.py +++ b/active_projects/eop/chapter1/show_proportion.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class ProbabilityRect(VMobject): diff --git a/active_projects/eop/chapter1/show_uncertainty_darts.py b/active_projects/eop/chapter1/show_uncertainty_darts.py index 45b1bbd7..e8994b2a 100644 --- a/active_projects/eop/chapter1/show_uncertainty_darts.py +++ b/active_projects/eop/chapter1/show_uncertainty_darts.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/show_uncertainty_dice.py b/active_projects/eop/chapter1/show_uncertainty_dice.py index 0a713dd4..1d6dcd1f 100644 --- a/active_projects/eop/chapter1/show_uncertainty_dice.py +++ b/active_projects/eop/chapter1/show_uncertainty_dice.py @@ -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): diff --git a/active_projects/eop/chapter1/show_uncertainty_disease.py b/active_projects/eop/chapter1/show_uncertainty_disease.py index 19baea53..c4366f4b 100644 --- a/active_projects/eop/chapter1/show_uncertainty_disease.py +++ b/active_projects/eop/chapter1/show_uncertainty_disease.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/stacking_coins.py b/active_projects/eop/chapter1/stacking_coins.py index 40962157..3d69a077 100644 --- a/active_projects/eop/chapter1/stacking_coins.py +++ b/active_projects/eop/chapter1/stacking_coins.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.eop.reusable_imports import * diff --git a/active_projects/eop/chapter1/think_about_coin.py b/active_projects/eop/chapter1/think_about_coin.py index 50cfd2de..12ba8f40 100644 --- a/active_projects/eop/chapter1/think_about_coin.py +++ b/active_projects/eop/chapter1/think_about_coin.py @@ -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): diff --git a/active_projects/eop/chapter1/various_intro_visuals.py b/active_projects/eop/chapter1/various_intro_visuals.py index 5bbd7ee6..6e8fc741 100644 --- a/active_projects/eop/chapter1/various_intro_visuals.py +++ b/active_projects/eop/chapter1/various_intro_visuals.py @@ -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 * diff --git a/active_projects/eop/chapter1/what_does_probability_mean.py b/active_projects/eop/chapter1/what_does_probability_mean.py index f2b3ff8b..b64aa984 100644 --- a/active_projects/eop/chapter1/what_does_probability_mean.py +++ b/active_projects/eop/chapter1/what_does_probability_mean.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class WhatDoesItReallyMean(TeacherStudentsScene): diff --git a/active_projects/eop/chapter2/permutation_grid.py b/active_projects/eop/chapter2/permutation_grid.py index 4772c893..496cd105 100644 --- a/active_projects/eop/chapter2/permutation_grid.py +++ b/active_projects/eop/chapter2/permutation_grid.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * def print_permutation(index_list): diff --git a/active_projects/eop/combinations.py b/active_projects/eop/combinations.py index 4128e1b7..92522e52 100644 --- a/active_projects/eop/combinations.py +++ b/active_projects/eop/combinations.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * #revert_to_original_skipping_status diff --git a/active_projects/eop/independence.py b/active_projects/eop/independence.py index a8dbda2c..38ef3041 100644 --- a/active_projects/eop/independence.py +++ b/active_projects/eop/independence.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from scene.scene import ProgressDisplay import scipy diff --git a/active_projects/eop/pascal.py b/active_projects/eop/pascal.py index 8ae04ed2..4ac2a1e5 100644 --- a/active_projects/eop/pascal.py +++ b/active_projects/eop/pascal.py @@ -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 diff --git a/active_projects/eop/reusables/brick_row.py b/active_projects/eop/reusables/brick_row.py index f9f10df2..928dc797 100644 --- a/active_projects/eop/reusables/brick_row.py +++ b/active_projects/eop/reusables/brick_row.py @@ -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 * diff --git a/active_projects/eop/reusables/histograms.py b/active_projects/eop/reusables/histograms.py index 35ce40a1..dd1837bb 100644 --- a/active_projects/eop/reusables/histograms.py +++ b/active_projects/eop/reusables/histograms.py @@ -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 diff --git a/active_projects/eop/what_does_probability_mean.py b/active_projects/eop/what_does_probability_mean.py index 0da0ec10..a692a774 100644 --- a/active_projects/eop/what_does_probability_mean.py +++ b/active_projects/eop/what_does_probability_mean.py @@ -1,5 +1,5 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class WhatDoesItReallyMean(TeacherStudentsScene): diff --git a/active_projects/holomorphic.py b/active_projects/holomorphic.py index c68113c4..91721cd1 100644 --- a/active_projects/holomorphic.py +++ b/active_projects/holomorphic.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class ComplexAnalysisOverlay(Scene): diff --git a/active_projects/ode/part1/pendulum.py b/active_projects/ode/part1/pendulum.py index 08aa6ce2..de801579 100644 --- a/active_projects/ode/part1/pendulum.py +++ b/active_projects/ode/part1/pendulum.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.ode.part1.shared_constructs import * diff --git a/active_projects/ode/part1/phase_space.py b/active_projects/ode/part1/phase_space.py index 85243172..549ac28b 100644 --- a/active_projects/ode/part1/phase_space.py +++ b/active_projects/ode/part1/phase_space.py @@ -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 diff --git a/active_projects/ode/part1/pi_scenes.py b/active_projects/ode/part1/pi_scenes.py index 23a4232d..ab0d60fa 100644 --- a/active_projects/ode/part1/pi_scenes.py +++ b/active_projects/ode/part1/pi_scenes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.ode.part1.shared_constructs import * diff --git a/active_projects/ode/part1/shared_constructs.py b/active_projects/ode/part1/shared_constructs.py index 37aa12a0..1dcfddf6 100644 --- a/active_projects/ode/part1/shared_constructs.py +++ b/active_projects/ode/part1/shared_constructs.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * Lg_formula_config = { diff --git a/active_projects/ode/part1/staging.py b/active_projects/ode/part1/staging.py index 607c2989..823bd1fe 100644 --- a/active_projects/ode/part1/staging.py +++ b/active_projects/ode/part1/staging.py @@ -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 diff --git a/active_projects/ode/part1/wordy_scenes.py b/active_projects/ode/part1/wordy_scenes.py index 1106f249..91dc0ff1 100644 --- a/active_projects/ode/part1/wordy_scenes.py +++ b/active_projects/ode/part1/wordy_scenes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.ode.part1.shared_constructs import * diff --git a/active_projects/ode/part2/fourier_series.py b/active_projects/ode/part2/fourier_series.py index 2638a7c8..bfb3a538 100644 --- a/active_projects/ode/part2/fourier_series.py +++ b/active_projects/ode/part2/fourier_series.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * # import scipy diff --git a/active_projects/ode/part2/heat_equation.py b/active_projects/ode/part2/heat_equation.py index afe4264e..f9278d9d 100644 --- a/active_projects/ode/part2/heat_equation.py +++ b/active_projects/ode/part2/heat_equation.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.ode.part2.shared_constructs import * diff --git a/active_projects/ode/part2/pi_scenes.py b/active_projects/ode/part2/pi_scenes.py index 6e18ce2a..c044996b 100644 --- a/active_projects/ode/part2/pi_scenes.py +++ b/active_projects/ode/part2/pi_scenes.py @@ -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 diff --git a/active_projects/ode/part2/shared_constructs.py b/active_projects/ode/part2/shared_constructs.py index baa02956..9418145e 100644 --- a/active_projects/ode/part2/shared_constructs.py +++ b/active_projects/ode/part2/shared_constructs.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * TIME_COLOR = YELLOW X_COLOR = GREEN diff --git a/active_projects/ode/part2/staging.py b/active_projects/ode/part2/staging.py index 741970fa..7450c823 100644 --- a/active_projects/ode/part2/staging.py +++ b/active_projects/ode/part2/staging.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.ode.part1.staging import TourOfDifferentialEquations diff --git a/active_projects/ode/part2/wordy_scenes.py b/active_projects/ode/part2/wordy_scenes.py index bfc3f982..861474ae 100644 --- a/active_projects/ode/part2/wordy_scenes.py +++ b/active_projects/ode/part2/wordy_scenes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class WriteHeatEquationTemplate(Scene): diff --git a/active_projects/shadows.py b/active_projects/shadows.py index 398c435f..7ac30e4d 100644 --- a/active_projects/shadows.py +++ b/active_projects/shadows.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * # Helpers diff --git a/example_scenes.py b/example_scenes.py index 22836e80..19c4e50a 100644 --- a/example_scenes.py +++ b/example_scenes.py @@ -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 diff --git a/manimlib/config.py b/manimlib/config.py index 5fec221f..999c423a 100644 --- a/manimlib/config.py +++ b/manimlib/config.py @@ -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 diff --git a/big_ol_pile_of_manim_imports.py b/manimlib/imports.py similarity index 98% rename from big_ol_pile_of_manim_imports.py rename to manimlib/imports.py index 0b7334ec..eb089282 100644 --- a/big_ol_pile_of_manim_imports.py +++ b/manimlib/imports.py @@ -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 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. diff --git a/manimlib/stream_starter.py b/manimlib/stream_starter.py index e164aa19..8a77f4ea 100644 --- a/manimlib/stream_starter.py +++ b/manimlib/stream_starter.py @@ -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) diff --git a/old_projects/256.py b/old_projects/256.py index 746fc064..b2dd0526 100644 --- a/old_projects/256.py +++ b/old_projects/256.py @@ -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 diff --git a/old_projects/WindingNumber.py b/old_projects/WindingNumber.py index feaf0fc7..f104c364 100644 --- a/old_projects/WindingNumber.py +++ b/old_projects/WindingNumber.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import warnings warnings.warn(""" diff --git a/old_projects/WindingNumber_G.py b/old_projects/WindingNumber_G.py index 2c88b526..f1b1b4ed 100644 --- a/old_projects/WindingNumber_G.py +++ b/old_projects/WindingNumber_G.py @@ -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 * diff --git a/old_projects/alt_calc.py b/old_projects/alt_calc.py index 7eb31ff1..e38e7ebe 100644 --- a/old_projects/alt_calc.py +++ b/old_projects/alt_calc.py @@ -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): diff --git a/old_projects/basel/basel.py b/old_projects/basel/basel.py index 98b061a9..44b2ccda 100644 --- a/old_projects/basel/basel.py +++ b/old_projects/basel/basel.py @@ -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 * diff --git a/old_projects/basel/basel2.py b/old_projects/basel/basel2.py index c90b320f..6f1148cf 100644 --- a/old_projects/basel/basel2.py +++ b/old_projects/basel/basel2.py @@ -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 diff --git a/old_projects/bell.py b/old_projects/bell.py index be2ce6ed..b83c98da 100644 --- a/old_projects/bell.py +++ b/old_projects/bell.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from tqdm import tqdm as ProgressDisplay diff --git a/old_projects/borsuk.py b/old_projects/borsuk.py index 1e39e705..46d20fc9 100644 --- a/old_projects/borsuk.py +++ b/old_projects/borsuk.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from functools import reduce class Jewel(VMobject): diff --git a/old_projects/borsuk_addition.py b/old_projects/borsuk_addition.py index c7bd3eb1..598aef5b 100644 --- a/old_projects/borsuk_addition.py +++ b/old_projects/borsuk_addition.py @@ -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 diff --git a/old_projects/brachistochrone/curves.py b/old_projects/brachistochrone/curves.py index 10738a72..504f015a 100644 --- a/old_projects/brachistochrone/curves.py +++ b/old_projects/brachistochrone/curves.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * RANDY_SCALE_FACTOR = 0.3 diff --git a/old_projects/brachistochrone/cycloid.py b/old_projects/brachistochrone/cycloid.py index dde85c28..1c4c950b 100644 --- a/old_projects/brachistochrone/cycloid.py +++ b/old_projects/brachistochrone/cycloid.py @@ -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): diff --git a/old_projects/brachistochrone/drawing_images.py b/old_projects/brachistochrone/drawing_images.py index a83bc6cc..c546ff67 100644 --- a/old_projects/brachistochrone/drawing_images.py +++ b/old_projects/brachistochrone/drawing_images.py @@ -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 = { diff --git a/old_projects/brachistochrone/graveyard.py b/old_projects/brachistochrone/graveyard.py index c39da5b9..0e1c00c2 100644 --- a/old_projects/brachistochrone/graveyard.py +++ b/old_projects/brachistochrone/graveyard.py @@ -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 diff --git a/old_projects/brachistochrone/light.py b/old_projects/brachistochrone/light.py index 23f58d59..b1037e12 100644 --- a/old_projects/brachistochrone/light.py +++ b/old_projects/brachistochrone/light.py @@ -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 diff --git a/old_projects/brachistochrone/misc.py b/old_projects/brachistochrone/misc.py index ea54e5ee..77ceaf8b 100644 --- a/old_projects/brachistochrone/misc.py +++ b/old_projects/brachistochrone/misc.py @@ -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): diff --git a/old_projects/brachistochrone/multilayered.py b/old_projects/brachistochrone/multilayered.py index c43d5949..2d81cc1e 100644 --- a/old_projects/brachistochrone/multilayered.py +++ b/old_projects/brachistochrone/multilayered.py @@ -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 * diff --git a/old_projects/brachistochrone/wordplay.py b/old_projects/brachistochrone/wordplay.py index ca990770..7ac6c5f2 100644 --- a/old_projects/brachistochrone/wordplay.py +++ b/old_projects/brachistochrone/wordplay.py @@ -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): diff --git a/old_projects/cba.py b/old_projects/cba.py index 7683dd9e..532e49b0 100644 --- a/old_projects/cba.py +++ b/old_projects/cba.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class EnumerableSaveScene(Scene): diff --git a/old_projects/clacks/name_bump.py b/old_projects/clacks/name_bump.py index 24a09813..cfc52e8c 100644 --- a/old_projects/clacks/name_bump.py +++ b/old_projects/clacks/name_bump.py @@ -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 diff --git a/old_projects/clacks/question.py b/old_projects/clacks/question.py index 3c07a0d1..b022c2dd 100644 --- a/old_projects/clacks/question.py +++ b/old_projects/clacks/question.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * OUTPUT_DIRECTORY = "clacks/question" diff --git a/old_projects/clacks/solution1.py b/old_projects/clacks/solution1.py index 31da2019..92ec3937 100644 --- a/old_projects/clacks/solution1.py +++ b/old_projects/clacks/solution1.py @@ -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 diff --git a/old_projects/clacks/solution2/block_collision_scenes.py b/old_projects/clacks/solution2/block_collision_scenes.py index e965e5f9..077b5541 100644 --- a/old_projects/clacks/solution2/block_collision_scenes.py +++ b/old_projects/clacks/solution2/block_collision_scenes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.clacks.question import BlocksAndWallExample diff --git a/old_projects/clacks/solution2/mirror_scenes.py b/old_projects/clacks/solution2/mirror_scenes.py index 7a8a0d3c..516116c8 100644 --- a/old_projects/clacks/solution2/mirror_scenes.py +++ b/old_projects/clacks/solution2/mirror_scenes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class MirrorScene(Scene): diff --git a/old_projects/clacks/solution2/pi_creature_scenes.py b/old_projects/clacks/solution2/pi_creature_scenes.py index fe8c3a0b..52f756ab 100644 --- a/old_projects/clacks/solution2/pi_creature_scenes.py +++ b/old_projects/clacks/solution2/pi_creature_scenes.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class OnAnsweringTwice(TeacherStudentsScene): diff --git a/old_projects/clacks/solution2/position_phase_space.py b/old_projects/clacks/solution2/position_phase_space.py index abd54087..75877283 100644 --- a/old_projects/clacks/solution2/position_phase_space.py +++ b/old_projects/clacks/solution2/position_phase_space.py @@ -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 diff --git a/old_projects/clacks/solution2/simple_scenes.py b/old_projects/clacks/solution2/simple_scenes.py index 19993504..d2921bce 100644 --- a/old_projects/clacks/solution2/simple_scenes.py +++ b/old_projects/clacks/solution2/simple_scenes.py @@ -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 diff --git a/old_projects/clacks/solution2/wordy_scenes.py b/old_projects/clacks/solution2/wordy_scenes.py index 07458d18..a665315e 100644 --- a/old_projects/clacks/solution2/wordy_scenes.py +++ b/old_projects/clacks/solution2/wordy_scenes.py @@ -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 diff --git a/old_projects/complex_multiplication_article.py b/old_projects/complex_multiplication_article.py index 5fff8bbe..f0819b2c 100644 --- a/old_projects/complex_multiplication_article.py +++ b/old_projects/complex_multiplication_article.py @@ -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 = { diff --git a/old_projects/counting_in_binary.py b/old_projects/counting_in_binary.py index 0ccdab43..2730f348 100644 --- a/old_projects/counting_in_binary.py +++ b/old_projects/counting_in_binary.py @@ -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/" diff --git a/old_projects/crypto.py b/old_projects/crypto.py index 9528879c..ffb0a94c 100644 --- a/old_projects/crypto.py +++ b/old_projects/crypto.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from hashlib import sha256 import binascii diff --git a/old_projects/dandelin.py b/old_projects/dandelin.py index 853a6275..b692072d 100644 --- a/old_projects/dandelin.py +++ b/old_projects/dandelin.py @@ -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 diff --git a/old_projects/div_curl.py b/old_projects/div_curl.py index 698507f8..17c23994 100644 --- a/old_projects/div_curl.py +++ b/old_projects/div_curl.py @@ -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 diff --git a/old_projects/domino_play.py b/old_projects/domino_play.py index 425316eb..e1507391 100644 --- a/old_projects/domino_play.py +++ b/old_projects/domino_play.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class SimpleVelocityGraph(GraphScene): diff --git a/old_projects/efvgt.py b/old_projects/efvgt.py index 10025245..f1b8d53c 100644 --- a/old_projects/efvgt.py +++ b/old_projects/efvgt.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * ADDER_COLOR = GREEN MULTIPLIER_COLOR = YELLOW diff --git a/old_projects/eoc/chapter1.py b/old_projects/eoc/chapter1.py index 1890c8be..dbce674b 100644 --- a/old_projects/eoc/chapter1.py +++ b/old_projects/eoc/chapter1.py @@ -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): diff --git a/old_projects/eoc/chapter10.py b/old_projects/eoc/chapter10.py index 66286514..08229472 100644 --- a/old_projects/eoc/chapter10.py +++ b/old_projects/eoc/chapter10.py @@ -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)] diff --git a/old_projects/eoc/chapter2.py b/old_projects/eoc/chapter2.py index ba2fd99b..ec3e53d4 100644 --- a/old_projects/eoc/chapter2.py +++ b/old_projects/eoc/chapter2.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * DISTANCE_COLOR = BLUE TIME_COLOR = YELLOW diff --git a/old_projects/eoc/chapter3.py b/old_projects/eoc/chapter3.py index f40c1341..93ac1ee5 100644 --- a/old_projects/eoc/chapter3.py +++ b/old_projects/eoc/chapter3.py @@ -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 diff --git a/old_projects/eoc/chapter4.py b/old_projects/eoc/chapter4.py index 5a17a44f..c36b606c 100644 --- a/old_projects/eoc/chapter4.py +++ b/old_projects/eoc/chapter4.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * SINE_COLOR = BLUE X_SQUARED_COLOR = GREEN diff --git a/old_projects/eoc/chapter5.py b/old_projects/eoc/chapter5.py index d3053722..e08585f2 100644 --- a/old_projects/eoc/chapter5.py +++ b/old_projects/eoc/chapter5.py @@ -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): diff --git a/old_projects/eoc/chapter6.py b/old_projects/eoc/chapter6.py index 5e8d6d53..e6beaa4c 100644 --- a/old_projects/eoc/chapter6.py +++ b/old_projects/eoc/chapter6.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * SPACE_UNIT_TO_PLANE_UNIT = 0.75 diff --git a/old_projects/eoc/chapter7.py b/old_projects/eoc/chapter7.py index 4c696254..4f5c17b8 100644 --- a/old_projects/eoc/chapter7.py +++ b/old_projects/eoc/chapter7.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class Chapter7OpeningQuote(OpeningQuote): CONFIG = { diff --git a/old_projects/eoc/chapter8.py b/old_projects/eoc/chapter8.py index 5160fcfd..077ec25e 100644 --- a/old_projects/eoc/chapter8.py +++ b/old_projects/eoc/chapter8.py @@ -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, \ diff --git a/old_projects/eoc/chapter9.py b/old_projects/eoc/chapter9.py index 89932a2c..c2a7f015 100644 --- a/old_projects/eoc/chapter9.py +++ b/old_projects/eoc/chapter9.py @@ -1,7 +1,7 @@ import scipy import fractions -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class Chapter9OpeningQuote(OpeningQuote): CONFIG = { diff --git a/old_projects/eoc/footnote.py b/old_projects/eoc/footnote.py index a35b7b66..8e27970e 100644 --- a/old_projects/eoc/footnote.py +++ b/old_projects/eoc/footnote.py @@ -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 diff --git a/old_projects/eoc/old_chapter1.py b/old_projects/eoc/old_chapter1.py index 2f1f7461..d3356d5f 100644 --- a/old_projects/eoc/old_chapter1.py +++ b/old_projects/eoc/old_chapter1.py @@ -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 ####### diff --git a/old_projects/eola/chapter0.py b/old_projects/eola/chapter0.py index 79c1b7a8..550db873 100644 --- a/old_projects/eola/chapter0.py +++ b/old_projects/eola/chapter0.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from once_useful_constructs import * EXAMPLE_TRANFORM = [[0, 1], [-1, 1]] diff --git a/old_projects/eola/chapter1.py b/old_projects/eola/chapter1.py index e54dc504..64787e0d 100644 --- a/old_projects/eola/chapter1.py +++ b/old_projects/eola/chapter1.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter0 import UpcomingSeriesOfVidoes import random diff --git a/old_projects/eola/chapter10.py b/old_projects/eola/chapter10.py index cb2f838d..4fc1447b 100644 --- a/old_projects/eola/chapter10.py +++ b/old_projects/eola/chapter10.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter1 import plane_wave_homotopy from old_projects.eola.chapter3 import ColumnsToBasisVectors from old_projects.eola.chapter5 import get_det_text diff --git a/old_projects/eola/chapter11.py b/old_projects/eola/chapter11.py index a4db3de2..a62a61b1 100644 --- a/old_projects/eola/chapter11.py +++ b/old_projects/eola/chapter11.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter1 import plane_wave_homotopy from old_projects.eola.chapter3 import ColumnsToBasisVectors from old_projects.eola.chapter5 import NameDeterminant, Blob diff --git a/old_projects/eola/chapter2.py b/old_projects/eola/chapter2.py index 1173592d..55689f55 100644 --- a/old_projects/eola/chapter2.py +++ b/old_projects/eola/chapter2.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter1 import plane_wave_homotopy class OpeningQuote(Scene): diff --git a/old_projects/eola/chapter3.py b/old_projects/eola/chapter3.py index f8232d78..eb826b00 100644 --- a/old_projects/eola/chapter3.py +++ b/old_projects/eola/chapter3.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * def curvy_squish(point): x, y, z = point diff --git a/old_projects/eola/chapter4.py b/old_projects/eola/chapter4.py index 9ea9df60..8bda4621 100644 --- a/old_projects/eola/chapter4.py +++ b/old_projects/eola/chapter4.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter3 import MatrixVectorMultiplicationAbstract diff --git a/old_projects/eola/chapter5.py b/old_projects/eola/chapter5.py index ed219030..2d21f24f 100644 --- a/old_projects/eola/chapter5.py +++ b/old_projects/eola/chapter5.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter3 import MatrixVectorMultiplicationAbstract diff --git a/old_projects/eola/chapter6.py b/old_projects/eola/chapter6.py index 41c929be..6f0992f7 100644 --- a/old_projects/eola/chapter6.py +++ b/old_projects/eola/chapter6.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from ka_playgrounds.circuits import Resistor, Source, LongResistor class OpeningQuote(Scene): diff --git a/old_projects/eola/chapter7.py b/old_projects/eola/chapter7.py index e5b3a2fa..a851eeb9 100644 --- a/old_projects/eola/chapter7.py +++ b/old_projects/eola/chapter7.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.footnote2 import TwoDTo1DTransformWithDots diff --git a/old_projects/eola/chapter8.py b/old_projects/eola/chapter8.py index 09ac78df..9e0d38d7 100644 --- a/old_projects/eola/chapter8.py +++ b/old_projects/eola/chapter8.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter5 import get_det_text, RightHandRule diff --git a/old_projects/eola/chapter8p2.py b/old_projects/eola/chapter8p2.py index 1311ec78..f72b2611 100644 --- a/old_projects/eola/chapter8p2.py +++ b/old_projects/eola/chapter8p2.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter5 import get_det_text from old_projects.eola.chapter8 import * diff --git a/old_projects/eola/chapter9.py b/old_projects/eola/chapter9.py index be9f7ca7..95004608 100644 --- a/old_projects/eola/chapter9.py +++ b/old_projects/eola/chapter9.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter1 import plane_wave_homotopy V_COLOR = YELLOW diff --git a/old_projects/eola/footnote.py b/old_projects/eola/footnote.py index 563d0fd4..765f8b99 100644 --- a/old_projects/eola/footnote.py +++ b/old_projects/eola/footnote.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from functools import reduce class OpeningQuote(Scene): diff --git a/old_projects/eola/footnote2.py b/old_projects/eola/footnote2.py index ae49dcc5..6f2d7dd5 100644 --- a/old_projects/eola/footnote2.py +++ b/old_projects/eola/footnote2.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from ka_playgrounds.circuits import Resistor, Source, LongResistor diff --git a/old_projects/eola/thumbnails.py b/old_projects/eola/thumbnails.py index 6df59824..0c425d1f 100644 --- a/old_projects/eola/thumbnails.py +++ b/old_projects/eola/thumbnails.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.eola.chapter9 import Jennifer, You class Chapter0(LinearTransformationScene): diff --git a/old_projects/fc1.py b/old_projects/fc1.py index d0a24fb9..f46e7ada 100644 --- a/old_projects/fc1.py +++ b/old_projects/fc1.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.efvgt import get_confetti_animations diff --git a/old_projects/for_flammy.py b/old_projects/for_flammy.py index 710e4e0e..12642942 100644 --- a/old_projects/for_flammy.py +++ b/old_projects/for_flammy.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.sphere_area import * diff --git a/old_projects/fourier.py b/old_projects/fourier.py index 6733b00b..aae267d2 100644 --- a/old_projects/fourier.py +++ b/old_projects/fourier.py @@ -2,7 +2,7 @@ from constants import * import scipy.integrate -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * USE_ALMOST_FOURIER_BY_DEFAULT = True NUM_SAMPLES_FOR_FFT = 1000 diff --git a/old_projects/fractal_charm.py b/old_projects/fractal_charm.py index c0e6418e..33a2d899 100644 --- a/old_projects/fractal_charm.py +++ b/old_projects/fractal_charm.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class FractalCreation(Scene): CONFIG = { diff --git a/old_projects/fractal_dimension.py b/old_projects/fractal_dimension.py index 4b43d194..4b5d567d 100644 --- a/old_projects/fractal_dimension.py +++ b/old_projects/fractal_dimension.py @@ -1,5 +1,5 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from functools import reduce def break_up(mobject, factor = 1.3): diff --git a/old_projects/generate_logo.py b/old_projects/generate_logo.py index 7b763a5c..6e4744ef 100644 --- a/old_projects/generate_logo.py +++ b/old_projects/generate_logo.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * ## Warning, much of what is in this class ## likely not supported anymore. diff --git a/old_projects/gradient.py b/old_projects/gradient.py index 62bdfe43..3e4178f0 100644 --- a/old_projects/gradient.py +++ b/old_projects/gradient.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * # Warning, this file uses ContinualChangingDecimal, diff --git a/old_projects/hanoi.py b/old_projects/hanoi.py index 714a9bef..0891887e 100644 --- a/old_projects/hanoi.py +++ b/old_projects/hanoi.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class CountingScene(Scene): CONFIG = { diff --git a/old_projects/highD.py b/old_projects/highD.py index a31d2ab9..77b63330 100644 --- a/old_projects/highD.py +++ b/old_projects/highD.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * ########## #force_skipping diff --git a/old_projects/hilbert/fractal_porn.py b/old_projects/hilbert/fractal_porn.py index dd53832e..64a3ca12 100644 --- a/old_projects/hilbert/fractal_porn.py +++ b/old_projects/hilbert/fractal_porn.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.hilbert.curves import * class Intro(TransformOverIncreasingOrders): diff --git a/old_projects/hilbert/section1.py b/old_projects/hilbert/section1.py index 0d734a34..2757ba4e 100644 --- a/old_projects/hilbert/section1.py +++ b/old_projects/hilbert/section1.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import displayer as disp diff --git a/old_projects/hilbert/section2.py b/old_projects/hilbert/section2.py index af344bb6..8c5dde12 100644 --- a/old_projects/hilbert/section2.py +++ b/old_projects/hilbert/section2.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import displayer as disp from hilbert.curves import \ TransformOverIncreasingOrders, FlowSnake, HilbertCurve, \ diff --git a/old_projects/hilbert/section3.py b/old_projects/hilbert/section3.py index d175f918..7c754c61 100644 --- a/old_projects/hilbert/section3.py +++ b/old_projects/hilbert/section3.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import displayer as disp from hilbert.curves import \ diff --git a/old_projects/inventing_math.py b/old_projects/inventing_math.py index a02268a3..162f8803 100644 --- a/old_projects/inventing_math.py +++ b/old_projects/inventing_math.py @@ -7,7 +7,7 @@ import sys import operator as op from random import sample -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from script_wrapper import command_line_create_scene from functools import reduce diff --git a/old_projects/inventing_math_images.py b/old_projects/inventing_math_images.py index b6d1b712..08c02d86 100644 --- a/old_projects/inventing_math_images.py +++ b/old_projects/inventing_math_images.py @@ -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 from .inventing_math import divergent_sum, draw_you diff --git a/old_projects/leibniz.py b/old_projects/leibniz.py index 62ab15d6..1c58e744 100644 --- a/old_projects/leibniz.py +++ b/old_projects/leibniz.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from functools import reduce # revert_to_original_skipping_status diff --git a/old_projects/lost_lecture.py b/old_projects/lost_lecture.py index 10fd67aa..f3ff992b 100644 --- a/old_projects/lost_lecture.py +++ b/old_projects/lost_lecture.py @@ -1,5 +1,5 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.div_curl import VectorField from old_projects.div_curl import get_force_field_func diff --git a/old_projects/matrix_as_transform_2d.py b/old_projects/matrix_as_transform_2d.py index 9022d7b2..38e8a35e 100644 --- a/old_projects/matrix_as_transform_2d.py +++ b/old_projects/matrix_as_transform_2d.py @@ -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 * ARROW_CONFIG = {"stroke_width" : 2*DEFAULT_STROKE_WIDTH} LIGHT_RED = RED_E diff --git a/old_projects/moser_intro.py b/old_projects/moser_intro.py index 920754fc..a57a81f6 100644 --- a/old_projects/moser_intro.py +++ b/old_projects/moser_intro.py @@ -6,7 +6,7 @@ import itertools as it import operator as op from copy import deepcopy -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * RADIUS = FRAME_Y_RADIUS - 0.1 CIRCLE_DENSITY = DEFAULT_POINT_DENSITY_1D*RADIUS diff --git a/old_projects/moser_main.py b/old_projects/moser_main.py index 94a2f2e4..9165a495 100644 --- a/old_projects/moser_main.py +++ b/old_projects/moser_main.py @@ -8,7 +8,7 @@ from random import random, randint import sys import inspect -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from script_wrapper import command_line_create_scene from functools import reduce diff --git a/old_projects/mug.py b/old_projects/mug.py index 47963243..a749ee91 100644 --- a/old_projects/mug.py +++ b/old_projects/mug.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.efvgt import ConfettiSpiril #revert_to_original_skipping_status diff --git a/old_projects/music_and_measure.py b/old_projects/music_and_measure.py index 2cbf776d..c9d71f08 100644 --- a/old_projects/music_and_measure.py +++ b/old_projects/music_and_measure.py @@ -7,7 +7,7 @@ from copy import deepcopy import sys from fractions import Fraction, gcd -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from .inventing_math import Underbrace import random diff --git a/old_projects/mvcr.py b/old_projects/mvcr.py index f3fe3329..5ecea712 100644 --- a/old_projects/mvcr.py +++ b/old_projects/mvcr.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class HoldUpMultivariableChainRule(TeacherStudentsScene): diff --git a/old_projects/name_animation.py b/old_projects/name_animation.py index ef8ae3fc..8315cc6d 100644 --- a/old_projects/name_animation.py +++ b/old_projects/name_animation.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * NAME_WITH_SPACES = "Prime Meridian" DIAMETER = 3.0 diff --git a/old_projects/nn/part1.py b/old_projects/nn/part1.py index 81c5ca4e..9cd82a8d 100644 --- a/old_projects/nn/part1.py +++ b/old_projects/nn/part1.py @@ -3,7 +3,7 @@ import os.path import cv2 sys.path.append(os.path.join(os.path.dirname(__file__), '..')) -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import warnings warnings.warn(""" diff --git a/old_projects/nn/part2.py b/old_projects/nn/part2.py index 397af84b..9cdf8757 100644 --- a/old_projects/nn/part2.py +++ b/old_projects/nn/part2.py @@ -3,7 +3,7 @@ import sys import os.path import cv2 -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from nn.network import * from nn.part1 import * diff --git a/old_projects/nn/playground.py b/old_projects/nn/playground.py index d935da92..b10066d4 100644 --- a/old_projects/nn/playground.py +++ b/old_projects/nn/playground.py @@ -8,7 +8,7 @@ from functools import reduce sys.path.append(os.path.join(os.path.dirname(__file__), '..')) from constants import * -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from nn.network import * from nn.part1 import * diff --git a/old_projects/number_line_scene.py b/old_projects/number_line_scene.py index 2c7fd14c..2a19452b 100644 --- a/old_projects/number_line_scene.py +++ b/old_projects/number_line_scene.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class NumberLineScene(Scene): def construct(self, **number_line_config): diff --git a/old_projects/patreon.py b/old_projects/patreon.py index 57434389..dc3fc845 100644 --- a/old_projects/patreon.py +++ b/old_projects/patreon.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class SideGigToFullTime(Scene): diff --git a/old_projects/pi_day.py b/old_projects/pi_day.py index 25f6eaf2..e533d012 100644 --- a/old_projects/pi_day.py +++ b/old_projects/pi_day.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * ###### Ben's stuff ######## diff --git a/old_projects/putnam.py b/old_projects/putnam.py index 7af89685..22bd9ca5 100644 --- a/old_projects/putnam.py +++ b/old_projects/putnam.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class ShowExampleTest(ExternallyAnimatedScene): pass diff --git a/old_projects/qa_round_two.py b/old_projects/qa_round_two.py index f5f407bd..6cfdf5fb 100644 --- a/old_projects/qa_round_two.py +++ b/old_projects/qa_round_two.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.efvgt import get_confetti_animations diff --git a/old_projects/quat3d.py b/old_projects/quat3d.py index c2f834f7..6b74dcc9 100644 --- a/old_projects/quat3d.py +++ b/old_projects/quat3d.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.quaternions import * W_COLOR = YELLOW diff --git a/old_projects/quaternions.py b/old_projects/quaternions.py index 26c26f91..e4567826 100644 --- a/old_projects/quaternions.py +++ b/old_projects/quaternions.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * def q_mult(q1, q2): diff --git a/old_projects/sphere_area.py b/old_projects/sphere_area.py index 4f80ce24..84150ae1 100644 --- a/old_projects/sphere_area.py +++ b/old_projects/sphere_area.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from active_projects.shadows import * diff --git a/old_projects/tattoo.py b/old_projects/tattoo.py index 48c5f0c7..72c16a8a 100644 --- a/old_projects/tattoo.py +++ b/old_projects/tattoo.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class TrigRepresentationsScene(Scene): diff --git a/old_projects/tau_poem.py b/old_projects/tau_poem.py index 38be7303..c0008df7 100644 --- a/old_projects/tau_poem.py +++ b/old_projects/tau_poem.py @@ -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 from .generate_logo import LogoGeneration diff --git a/old_projects/triangle_of_power/end.py b/old_projects/triangle_of_power/end.py index 3523594b..a477caf8 100644 --- a/old_projects/triangle_of_power/end.py +++ b/old_projects/triangle_of_power/end.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.triangle_of_power.triangle import TOP, OPERATION_COLORS diff --git a/old_projects/triangle_of_power/intro.py b/old_projects/triangle_of_power/intro.py index c5247428..e7cbccb8 100644 --- a/old_projects/triangle_of_power/intro.py +++ b/old_projects/triangle_of_power/intro.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class TrigAnimation(Animation): diff --git a/old_projects/triangle_of_power/triangle.py b/old_projects/triangle_of_power/triangle.py index 18eefc0a..ee718d62 100644 --- a/old_projects/triangle_of_power/triangle.py +++ b/old_projects/triangle_of_power/triangle.py @@ -1,5 +1,5 @@ import numbers -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from functools import reduce OPERATION_COLORS = [YELLOW, GREEN, BLUE_B] diff --git a/old_projects/triples.py b/old_projects/triples.py index c94acd9e..4c24d907 100644 --- a/old_projects/triples.py +++ b/old_projects/triples.py @@ -1,5 +1,5 @@ import fractions -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * A_COLOR = BLUE B_COLOR = GREEN diff --git a/old_projects/turbulence.py b/old_projects/turbulence.py index bd554414..4bbd9321 100644 --- a/old_projects/turbulence.py +++ b/old_projects/turbulence.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.div_curl import PureAirfoilFlow from old_projects.div_curl import move_submobjects_along_vector_field from old_projects.div_curl import move_points_along_vector_field diff --git a/old_projects/uncertainty.py b/old_projects/uncertainty.py index c71981f3..99bc07cb 100644 --- a/old_projects/uncertainty.py +++ b/old_projects/uncertainty.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import scipy -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from old_projects.fourier import * import warnings diff --git a/old_projects/wallis.py b/old_projects/wallis.py index 06791ec4..890e0c30 100644 --- a/old_projects/wallis.py +++ b/old_projects/wallis.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * from once_useful_constructs.light import AmbientLight from once_useful_constructs.light import Lighthouse from once_useful_constructs.light import SwitchOn diff --git a/old_projects/waves.py b/old_projects/waves.py index b4527601..ea4dd720 100644 --- a/old_projects/waves.py +++ b/old_projects/waves.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import warnings diff --git a/old_projects/wcat.py b/old_projects/wcat.py index 5884576d..fd82bc04 100644 --- a/old_projects/wcat.py +++ b/old_projects/wcat.py @@ -1,4 +1,4 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * class ClosedLoopScene(Scene): diff --git a/old_projects/zeta.py b/old_projects/zeta.py index 67d36485..5bf88bed 100644 --- a/old_projects/zeta.py +++ b/old_projects/zeta.py @@ -1,5 +1,5 @@ -from big_ol_pile_of_manim_imports import * +from manimlib.imports import * import mpmath mpmath.mp.dps = 7 diff --git a/setup.py b/setup.py index 4027b660..301b2742 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,6 @@ setup(name='manim', 'pycairo', 'pydub', ], - scripts=['manim.py', 'stage_scenes.py', 'big_ol_pile_of_manim_imports.py'], + scripts=['manim.py', 'stage_scenes.py'], package_data={'manimlib': ['*.tex', 'files/**']}, )