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


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