need help design the custom image names
Posted: Tue Jan 17, 2017 9:52 pm
there is a device/state that can be
-1/0/1/2/3/4/5/6/7/8/9
I have a drawing of my house and would like to have a green dot in
room 0 when state=0,
room 1 when state=1,
room 2 when state=2,
room 3 when state=3,
room 4 when state=4,
...
room 9 when state=9,
and blank otherwise in each room
The only way I have found to do this is to have 11 images per room (=10*11 = 110 images) There should be an easier way
currently i have blank images for room 5
r5+-1.png
r5+0.png
r5+1.png
r5+2.png
r5+3.png
r5+4.png
not r5+5.png
r5+6.png
r5+7.png
r5+8.png
r5+9.png
and ONE green dot
r5+5.png
and that for each room (x=0...9,y=-1...-9) rx+y.png
is there an easier way to do this?
if I leave blank images out the algorithm tries to find a closets image and that might be a green dot.
Karl
-1/0/1/2/3/4/5/6/7/8/9
I have a drawing of my house and would like to have a green dot in
room 0 when state=0,
room 1 when state=1,
room 2 when state=2,
room 3 when state=3,
room 4 when state=4,
...
room 9 when state=9,
and blank otherwise in each room
The only way I have found to do this is to have 11 images per room (=10*11 = 110 images) There should be an easier way
currently i have blank images for room 5
r5+-1.png
r5+0.png
r5+1.png
r5+2.png
r5+3.png
r5+4.png
not r5+5.png
r5+6.png
r5+7.png
r5+8.png
r5+9.png
and ONE green dot
r5+5.png
and that for each room (x=0...9,y=-1...-9) rx+y.png
is there an easier way to do this?
if I leave blank images out the algorithm tries to find a closets image and that might be a green dot.
Karl