set the imaged draws from point arrays to use color

This commit is contained in:
CiscoTheWolf 2023-05-31 17:15:42 +02:00
parent 552e959ed5
commit 76d26b08c8

View file

@ -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