You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
689 B
19 lines
689 B
from manim import *
|
|
|
|
|
|
class ManimCELogo(Scene):
|
|
def construct(self):
|
|
self.camera.background_color = "#ece6e2"
|
|
logo_green = "#87c2a5"
|
|
logo_blue = "#525893"
|
|
logo_red = "#e07a5f"
|
|
logo_black = "#343434"
|
|
ds_m = MathTex(r"\mathbb{M}", fill_color=logo_black).scale(7)
|
|
ds_m.shift(2.25 * LEFT + 1.5 * UP)
|
|
circle = Circle(color=logo_green, fill_opacity=1).shift(LEFT)
|
|
square = Square(color=logo_blue, fill_opacity=1).shift(UP)
|
|
triangle = Triangle(color=logo_red, fill_opacity=1).shift(RIGHT)
|
|
logo = VGroup(triangle, square, circle, ds_m) # order matters
|
|
logo.move_to(ORIGIN)
|
|
self.add(logo)
|