Skip to content

Commit c6c19bc

Browse files
committed
misc(logo): update logo
1 parent 58999d0 commit c6c19bc

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

static/logo.png

10.1 KB
Loading

static/logo.py

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class ManimSlidesLogo(Scene):
55
def construct(self):
66
tex_template = TexTemplate()
7-
tex_template.add_to_preamble(r"\usepackage{fontawesome5}")
7+
tex_template.add_to_preamble(r"\usepackage{graphicx}\usepackage{fontawesome5}")
88
self.camera.background_color = "#ffffff"
99
logo_green = "#87c2a5"
1010
logo_blue = "#525893"
@@ -15,16 +15,25 @@ def construct(self):
1515
slides = MathTex(r"\mathbb{S}\text{lides}", fill_color=logo_black).scale(4)
1616
slides.next_to(ds_m, DOWN)
1717
slides.shift(DOWN)
18-
book = Tex(
18+
play = Tex(
1919
r"\faStepBackward\faStepForward",
2020
fill_color=logo_black,
2121
tex_template=tex_template,
2222
).scale(4)
23-
book.next_to(ds_m, LEFT)
24-
book.shift(LEFT + 0.5 * DOWN)
23+
play.next_to(ds_m, LEFT)
24+
play.shift(LEFT + 0.5 * DOWN)
25+
comment = Tex(
26+
r"\reflectbox{\faComment*[regular]}",
27+
fill_color=logo_black,
28+
tex_template=tex_template,
29+
).scale(9)
30+
comment.move_to(play)
31+
comment.shift(0.4 * DOWN)
2532
circle = Circle(color=logo_green, fill_opacity=1).shift(LEFT)
2633
square = Square(color=logo_blue, fill_opacity=1).shift(UP)
2734
triangle = Triangle(color=logo_red, fill_opacity=1).shift(RIGHT)
28-
logo = VGroup(triangle, square, circle, ds_m, slides, book) # order matters
35+
logo = VGroup(
36+
triangle, square, circle, ds_m, slides, comment, play
37+
) # order matters
2938
logo.move_to(ORIGIN)
3039
self.add(logo)

0 commit comments

Comments
 (0)