A community-maintained Python framework for creating mathematical animations.
Reduced default resolution of :class:`~.Dot3D` (#1841)
Joy Bhallae4de8b728f96
diff --git a/manim/mobject/three_dimensions.py b/manim/mobject/three_dimensions.pyindex cf1e0e6bd..87f09c152 100644--- a/manim/mobject/three_dimensions.py+++ b/manim/mobject/three_dimensions.py@@ -339,8 +339,15 @@ class Dot3D(Sphere):self.add(axes, dot_1, dot_2,dot_3)"""- def __init__(self, point=ORIGIN, radius=DEFAULT_DOT_RADIUS, color=WHITE, **kwargs):- Sphere.__init__(self, center=point, radius=radius, **kwargs)+ def __init__(+ self,+ point=ORIGIN,+ radius=DEFAULT_DOT_RADIUS,+ color=WHITE,+ resolution=(8, 8),+ **kwargs+ ):+ super().__init__(center=point, radius=radius, resolution=resolution, **kwargs)self.set_color(color)diff --git a/tests/control_data/graphical_units_data/polyhedra/Dodecahedron.npz b/tests/control_data/graphical_units_data/polyhedra/Dodecahedron.npzindex 4ad5cdc2a..feedc4f16 100644Binary files a/tests/control_data/graphical_units_data/polyhedra/Dodecahedron.npz and b/tests/control_data/graphical_units_data/polyhedra/Dodecahedron.npz differdiff --git a/tests/control_data/graphical_units_data/polyhedra/Icosahedron.npz b/tests/control_data/graphical_units_data/polyhedra/Icosahedron.npzindex d46cf664d..26feec1ec 100644Binary files a/tests/control_data/graphical_units_data/polyhedra/Icosahedron.npz and b/tests/control_data/graphical_units_data/polyhedra/Icosahedron.npz differdiff --git a/tests/control_data/graphical_units_data/polyhedra/Octahedron.npz b/tests/control_data/graphical_units_data/polyhedra/Octahedron.npzindex 417644aaa..d75ed1f6a 100644Binary files a/tests/control_data/graphical_units_data/polyhedra/Octahedron.npz and b/tests/control_data/graphical_units_data/polyhedra/Octahedron.npz differdiff --git a/tests/control_data/graphical_units_data/polyhedra/Tetrahedron.npz b/tests/control_data/graphical_units_data/polyhedra/Tetrahedron.npzindex 0e7f4da14..375ca897a 100644Binary files a/tests/control_data/graphical_units_data/polyhedra/Tetrahedron.npz and b/tests/control_data/graphical_units_data/polyhedra/Tetrahedron.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Dot3D.npz b/tests/control_data/graphical_units_data/threed/Dot3D.npzindex 3db9daf0c..d562b71bd 100644Binary files a/tests/control_data/graphical_units_data/threed/Dot3D.npz and b/tests/control_data/graphical_units_data/threed/Dot3D.npz differ