diff --git a/rpi/Point2D.py b/rpi/Point2D.py index 4a86a8b..5f1d4d8 100644 --- a/rpi/Point2D.py +++ b/rpi/Point2D.py @@ -104,7 +104,7 @@ def generate_image_from_point_array(points: list[Point2D], width: int, height: i point = point.round() x = point.x y = point.y - pixels[x, y] = (255, 255, 255) + pixels[x, y] = point.color return image