even more bug fixes
This commit is contained in:
parent
c1012bae29
commit
515cf1b150
1 changed files with 3 additions and 3 deletions
|
@ -44,10 +44,10 @@ fullBlinkImage = pure_pil_alpha_to_color_v2(image)
|
|||
DesiredBlinkState = 0
|
||||
currentBlinkState = 0
|
||||
blinkFrameCanvases = []
|
||||
for alpha in range(0,1,(1/10)):
|
||||
for alpha in range(0,11,1):
|
||||
offscreen_interpolated_canvas = matrix.CreateFrameCanvas()
|
||||
interpolated_image = image_interpolation(noBlinkImage, fullBlinkImage, alpha)
|
||||
blinkFrameCanvases[alpha*10] = offscreen_interpolated_canvas.SetImage(interpolated_image)
|
||||
interpolated_image = image_interpolation(noBlinkImage, fullBlinkImage, alpha/10)
|
||||
blinkFrameCanvases[alpha] = offscreen_interpolated_canvas.SetImage(interpolated_image)
|
||||
|
||||
# offscreen canvas that can be written to and then set to the matrix asynchronously
|
||||
offscreen_canvas = matrix.CreateFrameCanvas()
|
||||
|
|
Loading…
Reference in a new issue