Sideway
output.to from Sideway
Draft for Information Only

Content

Manim Composition.py
 Codes in Composition.py
  Import
  Constant
  Class AnimationGroup(Animation)
   Configuration
   Functions
  Class Succession(AnimationGroup)
   Configuration
   Functions
  Class LaggedStart(AnimationGroup)
   Configuration
  Class LaggedStartMap(LaggedStart)
   Configuration
   Functions
 Source and Reference

Manim Composition.py

Codes in Composition.py

Available codes defined in manimlib.animation.composition.py

image

Import

import numpy as np

from manimlib.animation.animation import Animation
from manimlib.mobject.mobject import Group
from manimlib.utils.bezier import integer_interpolate
from manimlib.utils.bezier import interpolate
from manimlib.utils.config_ops import digest_config
from manimlib.utils.iterables import remove_list_redundancies
from manimlib.utils.rate_functions import linear

Constant

DEFAULT_LAGGED_START_LAG_RATIO = 0.05

Class AnimationGroup(Animation)

class manimlib.animation.composition.AnimationGroup(Animation)version 19Dec2019

Configuration

    CONFIG = {
        # If None, this defaults to the sum of all
        # internal animations
        "run_time": None,
        "rate_func": linear,
        # If 0, all animations are played at once.
        # If 1, all are played successively.
        # If >0 and <1, they start at lagged times
        # from one and other.
        "lag_ratio": 0,
        "group": None,
    }

Functions

  • def __init__(self, *animations, **kwargs)
  • def get_all_mobjects(self)
  • def begin(self)
  • def finish(self)
  • def clean_up_from_scene(self, scene)
  • def update_mobjects(self, dt)
  • def init_run_time(self)
  • def build_animations_with_timings(self)
  • def interpolate(self, alpha)

Class Succession(AnimationGroup)

class manimlib.animation.composition.Succession(AnimationGroup)version 19Dec2019

Configuration

    CONFIG = {
        "lag_ratio": 1,
    }

Functions

  • def begin(self)
  • def finish(self)
  • def update_mobjects(self, dt)
  • def interpolate(self, alpha)

Class LaggedStart(AnimationGroup)

class manimlib.animation.composition.LaggedStart(AnimationGroup)version 19Dec2019

Configuration

    CONFIG = {
        "lag_ratio": DEFAULT_LAGGED_START_LAG_RATIO,
    }

Class LaggedStartMap(LaggedStart)

class manimlib.animation.composition.LaggedStartMap(LaggedStart)version 19Dec2019

Configuration

    CONFIG = {
        "run_time": 2,
    }

Functions

  • def __init__(self, AnimationClass, mobject, arg_creator=None, **kwargs)

Source and Reference

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

©sideway

ID: 200702802 Last Updated: 28/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 25

Latex 7

Manim 115

Numeric 19

Programming

Web 283

Unicode 494

HTML 65

CSS 58

ASP.NET 149

OS 389

DeskTop 7

Python 19

Knowledge

Mathematics

Formulas 8

Algebra 25

Number Theory 206

Trigonometry 18

Geometry 21

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