I was thinking about trying something like that, I think that means I can't call g.clear(); to clear the second hand, for example. I suppose I can redraw the previous second's second hand in the background color just to cover it up, before drawing the new one in the foreground color. Of course if I consider sacrificing the second hand, I can set the clearInterval to 60000, which is as long as the screen will stay on anyway, so the user won't ever see the flicker.
Btw, I also tried loading a 3bit image of my watch face, something I hadn't tried because I figured it would be even slower. It was. It took much longer to draw the image. Still under a second, but much more noticable flicker, with a slight rolling wipe from top to bottom.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I was thinking about trying something like that, I think that means I can't call g.clear(); to clear the second hand, for example. I suppose I can redraw the previous second's second hand in the background color just to cover it up, before drawing the new one in the foreground color. Of course if I consider sacrificing the second hand, I can set the clearInterval to 60000, which is as long as the screen will stay on anyway, so the user won't ever see the flicker.
Btw, I also tried loading a 3bit image of my watch face, something I hadn't tried because I figured it would be even slower. It was. It took much longer to draw the image. Still under a second, but much more noticable flicker, with a slight rolling wipe from top to bottom.