-
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.
Merge pull request #186 from marekkirejczyk/DSA_intuition
Dsa intuition - teaser 3
- Loading branch information
Showing
31 changed files
with
445 additions
and
103 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ noarch | |
todo.md | ||
.ruff_cache | ||
.idea/* | ||
venv |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ soundfile | |
pyloudnorm | ||
pycryptodome | ||
cryptography | ||
manim_editor | ||
setuptools |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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("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=32, rate_func=rate_functions.linear) | ||
) |
Oops, something went wrong.