set base images

This commit is contained in:
CiscoTheWolf 2023-05-21 23:30:31 +02:00
parent 3c687f41b6
commit 600af22484

View file

@ -48,7 +48,10 @@ for alpha in range(10):
offscreen_interpolated_canvas = matrix.CreateFrameCanvas()
interpolated_image = image_interpolation(noBlinkImage, fullBlinkImage, alpha/10)
blinkFrameCanvases[alpha] = offscreen_interpolated_canvas.SetImage(interpolated_image)
offscreen_interpolated_canvas = matrix.CreateFrameCanvas()
blinkFrameCanvases[0] = offscreen_interpolated_canvas.SetImage(noBlinkImage)
offscreen_interpolated_canvas = matrix.CreateFrameCanvas()
blinkFrameCanvases[10] = offscreen_interpolated_canvas.SetImage(fullBlinkImage)
# offscreen canvas that can be written to and then set to the matrix asynchronously