Skip to content

Commit 91b3aba

Browse files
committed
Change big_ol_pile_of_imports to manimlib.imports
1 parent 6e6dd26 commit 91b3aba

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

name_animations.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/env python
2+
from manimlib.imports import *
3+
from active_projects.ode.part2.fourier_series import FourierOfName
4+
5+
name_color_pairs = [
6+
7+
]
8+
9+
circle_counts = [
10+
# 10,
11+
# 25,
12+
100,
13+
]
14+
15+
if __name__ == "__main__":
16+
for name, color in name_color_pairs:
17+
for n_circles in circle_counts:
18+
try:
19+
first_name = name.split(" ")[0]
20+
scene = FourierOfName(
21+
name_text=name,
22+
name_color=color,
23+
n_circles=n_circles,
24+
file_writer_config={
25+
"write_to_movie": True,
26+
"output_directory": os.path.join(
27+
"patron_fourier_names",
28+
first_name,
29+
),
30+
"file_name": "{}_Fouierified_{}_Separate_paths".format(
31+
first_name,
32+
n_circles
33+
),
34+
},
35+
camera_config={
36+
"frame_rate": 24,
37+
},
38+
)
39+
except:
40+
pass

0 commit comments

Comments
 (0)