From 76d26b08c8c611fa8b444842ce05b1f021d8fb5e Mon Sep 17 00:00:00 2001
From: CiscoTheWolf <cisco@hostingwire.net>
Date: Wed, 31 May 2023 17:15:42 +0200
Subject: [PATCH] set the imaged draws from point arrays to use color

---
 rpi/Point2D.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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