Beginning chapter 4 animations

This commit is contained in:
Grant Sanderson 2019-06-18 20:40:41 -07:00
parent 2680a9c373
commit 9da74cb657
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,12 @@
from active_projects.ode.part4.staging import *
OUTPUT_DIRECTORY = "ode/part4"
SCENES_IN_ORDER = [
ComplexFourierSeriesExample,
# Oldies
# FourierSeriesIllustraiton,
# FourierNameIntro,
# CircleAnimationOfF,
]

View file

@ -0,0 +1,30 @@
from manimlib.imports import *
from active_projects.ode.part2.fourier_series import FourierOfTrebleClef
class ComplexFourierSeriesExample(FourierOfTrebleClef):
CONFIG = {
"file_name": "TrebleClef",
"run_time": 10,
# "n_vectors": 10,
"drawing_height": 5,
"center_point": DOWN,
"top_row_vector_y": 3,
"top_row_x_spacing": 1,
}
def construct(self):
pass
def get_path(self):
path = super().get_path()
path.set_height(self.drawing_height)
path.to_edge(DOWN)
return path
def get_top_row_vector_copies(self, vectors, max_freq=3):
pass
def get_top_row_vector_labels(self):
pass