Dot
Dot Parameters#
Paremeters - as mentioned in Azarzadvillas Documentation - are:
-
Constructor : -
Dot
-SmallDot
-
point
: Center of the dot- numpy array of dimension 3 (ex:
(1,1,0)
) - Optional
- Default:
ORIGIN
- numpy array of dimension 3 (ex:
-
radius
: Size of the dot- float (ex:
0.2
) - Optional
- Default:
DEFAULT_DOT_RADIUS
- float (ex:
Dot Creation#
from manimlib import *
class DotOne(Scene):
def construct(self):
dot = Dot(point=(2,1,0), radius=0.1, color=YELLOW)
self.play(ShowCreation(dot))
self.wait(2)
from manim import *
class DotOne(Scene):
def construct(self):
dot = Dot(point=(2,1,0), radius=0.1, color=YELLOW)
self.play(Create(dot))
self.wait(2)
Small Dot#
from manimlib import *
class DotSmall(Scene):
def construct(self):
Sdot = SmallDot(point=(2,1,0), color=YELLOW)
self.play(ShowCreation(Sdot))
self.wait(2)