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: 7/2/2020 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339new

Travel 7new

Reference 79

Computer

Hardware 251

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

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

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


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