Sideway
output.to from Sideway
Draft for Information Only

Content

Manim Moving_camera.py
 Codes in Moving_camera.py
  Import
  Class CameraFrame(VGroup)
   Configuration
   Functions
  Class MovingCamera(Camera)
   Configuration
   Functions
 Source and Reference

Manim Moving_camera.py

Codes in Moving_camera.py

Available codes defined in manimlib.camera.movingcamera.py

image

Import

from manimlib.camera.camera import Camera
from manimlib.constants import FRAME_HEIGHT
from manimlib.constants import FRAME_WIDTH
from manimlib.constants import ORIGIN
from manimlib.constants import WHITE
from manimlib.mobject.frame import ScreenRectangle
from manimlib.mobject.types.vectorized_mobject import VGroup
from manimlib.utils.config_ops import digest_config

Class CameraFrame(VGroup)

class manimlib.camera.moving_camera.CameraFrame(VGroup)version 19Dec2019

Configuration

    CONFIG = {
        "width": FRAME_WIDTH,
        "height": FRAME_HEIGHT,
        "center": ORIGIN,
    }

Functions

  • def __init__(self, **kwargs)
    • pass

Class MovingCamera(Camera)

class manimlib.camera.moving_camera.MovingCamera(Camera)version 19Dec2019

Configuration

    CONFIG = {
        "fixed_dimension": 0,  # width
        "default_frame_stroke_color": WHITE,
        "default_frame_stroke_width": 0,
    }

Functions

  • def __init__(self, frame=None, **kwargs)
  • def get_frame_height(self)
  • def get_frame_width(self)
  • def get_frame_center(self)
  • def set_frame_height(self, frame_height)
  • def set_frame_width(self, frame_width)
  • def set_frame_center(self, frame_center)
  • def capture_mobjects(self, mobjects, **kwargs)
  • def get_cached_cairo_context(self, pixel_array)
    • return None
  • def cache_cairo_context(self, pixel_array, ctx)
    • pass
  • # def reset_frame_center(self): # self.frame_center = self.frame.get_center() # def realign_frame_shape(self): # height, width = self.frame_shape # if self.fixed_dimension == 0: # self.frame_shape = (height, self.frame.get_width()) # else: # self.frame_shape = (self.frame.get_height(), width) # self.resize_frame_shape(fixed_dimension=self.fixed_dimension)
  • def get_mobjects_indicating_movement(self)

Source and Reference

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

©sideway

ID: 200802602 Last Updated: 8/26/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 339

Reference 79

Computer

Hardware 249

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 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

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