even more bug fixes, list of frames is now a dict
This commit is contained in:
parent
9dd5937ccd
commit
760d263ee5
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ fullBlinkImage = pure_pil_alpha_to_color_v2(image)
|
||||||
|
|
||||||
DesiredBlinkState = 0
|
DesiredBlinkState = 0
|
||||||
currentBlinkState = 0
|
currentBlinkState = 0
|
||||||
blinkFrameCanvases = []
|
blinkFrameCanvases = {}
|
||||||
for alpha in range(0,11,1):
|
for alpha in range(10):
|
||||||
offscreen_interpolated_canvas = matrix.CreateFrameCanvas()
|
offscreen_interpolated_canvas = matrix.CreateFrameCanvas()
|
||||||
interpolated_image = image_interpolation(noBlinkImage, fullBlinkImage, alpha/10)
|
interpolated_image = image_interpolation(noBlinkImage, fullBlinkImage, alpha/10)
|
||||||
blinkFrameCanvases[alpha] = offscreen_interpolated_canvas.SetImage(interpolated_image)
|
blinkFrameCanvases[alpha] = offscreen_interpolated_canvas.SetImage(interpolated_image)
|
||||||
|
|
Loading…
Reference in a new issue