kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Made sure all columns are used!
rodzic
2f44e85431
commit
8c3a21ec1a
|
@ -56,7 +56,7 @@ def draw():
|
||||||
|
|
||||||
for y in range(picounicorn.get_height()):
|
for y in range(picounicorn.get_height()):
|
||||||
for x in range(picounicorn.get_width()):
|
for x in range(picounicorn.get_width()):
|
||||||
value = _heat[y][x]
|
value = _heat[y + 1][x]
|
||||||
if value < 0.15:
|
if value < 0.15:
|
||||||
_set_pen(_fire_colours[0])
|
_set_pen(_fire_colours[0])
|
||||||
elif value < 0.25:
|
elif value < 0.25:
|
||||||
|
|
Ładowanie…
Reference in New Issue