-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added sounds and changes in ceremony verifications
- Loading branch information
1 parent
613612c
commit 1a884de
Showing
10 changed files
with
76 additions
and
22 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
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,41 @@ | ||
from manim import DOWN, UP, MoveToTarget, Text, VGroup, rate_functions | ||
|
||
from zkmarek.video.constant import PRIMARY_COLOR, PRIMARY_FONT, SECONDARY_COLOR | ||
from zkmarek.video.slides.common.slide_base import SlideBase | ||
|
||
|
||
class Credits(SlideBase): | ||
group: VGroup | ||
|
||
def __init__(self): | ||
super().__init__("Credits") | ||
|
||
def construct(self): | ||
self.group = VGroup() | ||
|
||
def add_title(self, text: Text): | ||
result = Text(text, font=PRIMARY_FONT, color=PRIMARY_COLOR) | ||
if len(self.group) > 0: | ||
result.next_to(self.group[-1], direction=DOWN, buff=1) | ||
self.group.add(result) | ||
|
||
def add_credit(self, text): | ||
result = Text(text, font=PRIMARY_FONT, color=SECONDARY_COLOR, font_size=30) | ||
result.next_to(self.group[-1], direction=DOWN, buff=0.2) | ||
self.group.add(result) | ||
|
||
def animate_in(self, scene): | ||
self.add_title("Idea and voice") | ||
self.add_credit("Marek Kirejczyk @zkmarek") | ||
self.add_title("Code and animation") | ||
self.add_credit("Marek Kirejczyk @zkmarek") | ||
self.add_credit("Marta Wleklińska @martawleklinska") | ||
|
||
# self.add_title("Special thanks") | ||
self.add_title("Music from Udio AI music") | ||
self.group.generate_target() | ||
self.group.shift(5 * DOWN) | ||
self.group.target.shift(16 * UP) | ||
scene.play( | ||
MoveToTarget(self.group, run_time=20, rate_func=rate_functions.linear) | ||
) |
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
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