forked from 3b1b/manim
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,348 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from active_projects.ode.part3.staging import * | ||
from active_projects.ode.part3.temperature_graphs import * | ||
|
||
|
||
OUTPUT_DIRECTORY = "ode/part3" | ||
SCENES_IN_ORDER = [ | ||
FourierSeriesIllustraiton, | ||
FourierNameIntro, | ||
CircleAnimationOfF, | ||
LastChapterWrapper, | ||
ThreeMainObservations, | ||
SimpleSinExpGraph, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env python | ||
from manimlib.imports import * | ||
from active_projects.ode.part2.fourier_series import FourierOfName | ||
|
||
name_color_pairs = [ | ||
|
||
] | ||
|
||
circle_counts = [ | ||
# 10, | ||
# 25, | ||
100, | ||
] | ||
|
||
if __name__ == "__main__": | ||
for name, color in name_color_pairs: | ||
for n_circles in circle_counts: | ||
try: | ||
first_name = name.split(" ")[0] | ||
scene = FourierOfName( | ||
name_text=name, | ||
name_color=color, | ||
n_circles=n_circles, | ||
file_writer_config={ | ||
"write_to_movie": True, | ||
"output_directory": os.path.join( | ||
"patron_fourier_names", | ||
first_name, | ||
), | ||
"file_name": "{}_Fouierified_{}_Separate_paths".format( | ||
first_name, | ||
n_circles | ||
), | ||
}, | ||
camera_config={ | ||
"frame_rate": 24, | ||
}, | ||
) | ||
except: | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.