File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments