Sideway
output.to from Sideway
Draft for Information Only

Content

Manim Brace
 Codes in Brace_mobject.py
  Import
  Class Brace(TexMobject)
   Configuration
   Functions
  Class BraceLabel(VMobject)
   Configuration
   Functions
  Class BraceText(BraceLabel)
   Configuration
 Source and Reference

Manim Brace

The brace VMobject object in Manim is defined in brace.py.

Codes in Brace_mobject.py

Available codes defined in manimlib.mobject.svg.brace.py

image

Import

import numpy as np

from manimlib.animation.composition import AnimationGroup
from manimlib.constants import *
from manimlib.animation.fading import FadeIn
from manimlib.animation.growing import GrowFromCenter
from manimlib.mobject.svg.tex_mobject import TexMobject
from manimlib.mobject.svg.tex_mobject import TextMobject
from manimlib.mobject.types.vectorized_mobject import VMobject
from manimlib.utils.config_ops import digest_config
from manimlib.utils.space_ops import get_norm

Class Brace(TexMobject)

class manimlib.mobject.svg.brace.Brace(TexMobject)version 19Dec2019

Configuration

    CONFIG = {
        "buff": 0.2,
        "width_multiplier": 2,
        "max_num_quads": 15,
        "min_num_quads": 0,
        "background_stroke_width": 0,
    }

Functions

  • def __init__(self, mobject, direction=DOWN, **kwargs)
  • def put_at_tip(self, mob, use_next_to=True, **kwargs)
  • def get_text(self, *text, **kwargs)
  • def get_tex(self, *tex, **kwargs)
  • def get_tip(self)
  • def get_direction(self)

Class BraceLabel(VMobject)

class manimlib.mobject.svg.brace.BraceLabel(VMobject)version 19Dec2019

Configuration

    CONFIG = {
        "label_constructor": TexMobject,
        "label_scale": 1,
    }

Functions

  • def __init__(self, obj, text, brace_direction=DOWN, **kwargs)
  • def creation_anim(self, label_anim=FadeIn, brace_anim=GrowFromCenter)
  • def shift_brace(self, obj, **kwargs)
  • def change_label(self, *text, **kwargs)
  • def change_brace_label(self, obj, *text)
  • def copy(self)

Class BraceText(BraceLabel)

class manimlib.mobject.svg.brace.BraceText(BraceLabel)version 19Dec2019

Configuration

    CONFIG = {
        "label_constructor": TextMobject
    }

Source and Reference

https://github.com/3b1b/manim19Dec2019

©sideway

ID: 200700202 Last Updated: 2/7/2020 Revision: 0

IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 337

Reference 67

Computer

Hardware 149

Software

Application 198

Digitization 119

Numeric 19

Programming

Web 283

Unicode 494

HTML 65

CSS 58

ASP.NET 97

OS 389

DeskTop 7

Python 19

Knowledge

Mathematics

Formulas 8

Algebra 25

Number Theory 206

Trigonometry 18

Geometry 18

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Physics

Electric 27

Biology 1

Geography 1


Copyright © 2000-2020 Sideway . All rights reserved Disclaimers last modified on 06 September 2019