Sideway
output.to from Sideway
Draft for Information Only

Content

Manim Point_cloud_mobject.py
 Codes in Point_cloud_mobject.py
  Import
  Class PMobject(Mobject)
   Configuration
   Functions
  Class Mobject1D(PMobject)
   Configuration
   Functions
  Class Mobject2D(PMobject)
   Configuration
   Functions
  Class PGroup(PMobject)
   Functions
  Class PointCloudDot(Mobject1D)
   Configuration
   Functions
  Class Point(PMobject)
   Configuration
   Functions
 Source and Reference

Manim Point_cloud_mobject.py

Codes in Point_cloud_mobject.py

Available codes defined in manimlib.mobject.type.point_cloud_mobject.py

image

Import

from manimlib.constants import *
from manimlib.mobject.mobject import Mobject
from manimlib.utils.bezier import interpolate
from manimlib.utils.color import color_gradient
from manimlib.utils.color import color_to_rgba
from manimlib.utils.color import rgba_to_color
from manimlib.utils.config_ops import digest_config
from manimlib.utils.iterables import stretch_array_to_length
from manimlib.utils.space_ops import get_norm

Class PMobject(Mobject)

class manimlib.mobject.mobject.type.point_cloud_mobject.PMobject(Mobject)version 19Dec2019

Configuration

    CONFIG = {
        "stroke_width": DEFAULT_STROKE_WIDTH,
    }

Functions

  • def reset_points(self)
  • def get_array_attrs(self)
  • def add_points(self, points, rgbas=None, color=None, alpha=1)
  • def set_color(self, color=YELLOW_C, family=True)
  • def get_stroke_width(self)
  • def set_stroke_width(self, width, family=True)
  • # def set_color_by_gradient(self, start_color, end_color):
  • def set_color_by_gradient(self, *colors)
  • def set_colors_by_radial_gradient(self, center=None, radius=1, inner_color=WHITE, outer_color=BLACK)
  • def match_colors(self, mobject)
  • def filter_out(self, condition)
  • def thin_out(self, factor=5)
  • def sort_points(self, function=lambda p: p[0])
  • def fade_to(self, color, alpha)
  • def get_all_rgbas(self)
  • def ingest_submobjects(self)
  • def get_color(self)
  • def point_from_proportion(self, alpha)
  • # Alignment
  • def align_points_with_larger(self, larger_mobject)
  • def get_point_mobject(self, center=None)
  • def interpolate_color(self, mobject1, mobject2, alpha)
  • def pointwise_become_partial(self, mobject, a, b)

Class Mobject1D(PMobject)

class manimlib.mobject.mobject.type.point_cloud_mobject.Mobject1D(PMobject)version 19Dec2019

Configuration

    CONFIG = {
        "density": DEFAULT_POINT_DENSITY_1D,
    }

Functions

  • def __init__(self, **kwargs)
  • def add_line(self, start, end, color=None)

Class Mobject2D(PMobject)

class manimlib.mobject.mobject.type.point_cloud_mobject.Mobject2D(PMobject)version 19Dec2019

Configuration

    CONFIG = {
        "density": DEFAULT_POINT_DENSITY_2D,
    }

Functions

  • def __init__(self, **kwargs)

Class PGroup(PMobject)

class manimlib.mobject.mobject.type.point_cloud_mobject.PGroup(PMobject)version 19Dec2019

Functions

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

Class PointCloudDot(Mobject1D)

class manimlib.mobject.mobject.type.point_cloud_mobject.PointCloudDot(Mobject1D)version 19Dec2019

Configuration

    CONFIG = {
        "radius": 0.075,
        "stroke_width": 2,
        "density": DEFAULT_POINT_DENSITY_1D,
        "color": YELLOW,
    }

Functions

  • def __init__(self, center=ORIGIN, **kwargs)
  • def generate_points(self)

Class Point(PMobject)

class manimlib.mobject.mobject.type.point_cloud_mobject.Point(PMobject)version 19Dec2019

Configuration

    CONFIG = {
        "color": BLACK,
    }

Functions

  • def __init__(self, location=ORIGIN, **kwargs)

Source and Reference

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

©sideway

ID: 210700030 Last Updated: 7/30/2021 Revision: 0

IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 337

Reference 68

Computer

Hardware 154

Software

Application 207

Digitization 25

Latex 35

Manim 203

Numeric 19

Programming

Web 285

Unicode 504

HTML 65

CSS 63

SVG 8

ASP.NET 211

OS 422

DeskTop 7

Python 64

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 32

Coordinate Geometry 1

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-2021 Sideway . All rights reserved Disclaimers last modified on 06 September 2019