-
• #2
@dave_irvine from http://forum.espruino.com/comments/14535405/
I have played with the idea of having an easy way to debug graphics locally and made the following module https://gist.github.com/opichals/8f74cc494a3e2d7cf122c6013e8935cf
It wraps the Graphics.createArrayBuffer by calling require('./webGraphics').add(Graphics) and exposes http://localhost:8000 endpoint with canvas renderer for Espruino.
I used it to debug the morphing clock. With some mocking it is possible to debug graphics related stuff nicely before you put the code to the board.
-
• #3
Aha! I knew it was on my mind for a reason, I'd already read it. Nice one.
So I know that the IDE will convert and display data/img style images, but is there any way we can mirror the display in a slightly more real-time fashion?
I'm guessing there might not be enough bandwidth over the BLE connection... maybe an Espruino emulator?
Edit: http://forum.espruino.com/conversations/326858/ is basically what I was after