PGroup#
Qualified name: manim.mobject.types.point\_cloud\_mobject.PGroup
- class PGroup(*pmobs, **kwargs)[source]#
Bases:
PMobjectExamples
Example: PgroupExample ¶
from manim import * class PgroupExample(Scene): def construct(self): p1 = PointCloudDot(radius=1, density=20, color=BLUE) p1.move_to(4.5 * LEFT) p2 = PointCloudDot() p3 = PointCloudDot(radius=1.5, stroke_width=2.5, color=PINK) p3.move_to(4.5 * RIGHT) pList = PGroup(p1, p2, p3) self.add(pList)
Methods
fade_toAttributes
animateUsed to animate the application of any method of
self.animation_overridesdepthThe depth of the mobject.
heightThe height of the mobject.
widthThe width of the mobject.