Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Behavior of stroke_width for point_cloud mobjects now fills out a bigger block of pixels

Grant Sandersonc1f7f17151d9
diff --git a/camera.py b/camera.py
index 1a20ee2ec..72ed1ccfd 100644
--- a/camera.py
+++ b/camera.py
@@ -344,10 +344,7 @@ class Camera(object):
def get_thickening_nudges(self, thickness):
_range = range(-thickness/2+1, thickness/2+1)
- return np.array(
- list(it.product([0], _range))+
- list(it.product(_range, [0]))
- )
+ return np.array(list(it.product(_range, _range)))
def thickened_coordinates(self, pixel_coords, thickness):
nudges = self.get_thickening_nudges(thickness)