set the imaged draws from point arrays to use color
This commit is contained in:
parent
552e959ed5
commit
76d26b08c8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue