mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 12:57:45 +00:00
Beginning chapter 4 animations
This commit is contained in:
parent
2680a9c373
commit
9da74cb657
2 changed files with 42 additions and 0 deletions
12
active_projects/ode/all_part4_scenes.py
Normal file
12
active_projects/ode/all_part4_scenes.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from active_projects.ode.part4.staging import *
|
||||
|
||||
OUTPUT_DIRECTORY = "ode/part4"
|
||||
SCENES_IN_ORDER = [
|
||||
ComplexFourierSeriesExample,
|
||||
|
||||
# Oldies
|
||||
|
||||
# FourierSeriesIllustraiton,
|
||||
# FourierNameIntro,
|
||||
# CircleAnimationOfF,
|
||||
]
|
||||
30
active_projects/ode/part4/staging.py
Normal file
30
active_projects/ode/part4/staging.py
Normal 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
|
||||
Loading…
Add table
Reference in a new issue