Dot

Qualified name: manim.mobject.geometry.Dot

class Dot(point=array([0., 0., 0.]), radius=0.08, stroke_width=0, fill_opacity=1.0, color='#FFFFFF', **kwargs)[source]

Bases: manim.mobject.geometry.Circle

A circle with a very small radius.

Parameters
  • point (Union[list, numpy.ndarray], optional) – The location of the dot.

  • radius (Optional[float]) – The radius of the dot.

  • stroke_width (float, optional) – The thickness of the outline of the dot.

  • fill_opacity (float, optional) – The opacity of the dot’s fill_colour

  • color (Colors, optional) – The color of the dot.

  • kwargs (Any) – Additional arguments to be passed to Circle

Examples

Example: DotExample

../_images/DotExample-1.png
from manim import *

class DotExample(Scene):
    def construct(self):
        dot1 = Dot(point=LEFT, radius=0.08)
        dot2 = Dot(point=ORIGIN)
        dot3 = Dot(point=RIGHT)
        self.add(dot1,dot2,dot3)

Methods

Attributes

animate

Used to animate the application of a method.

animation_overrides

depth

The depth of the mobject.

height

The height of the mobject.

width

The width of the mobject.