I made a tool to convert SVG files into a format that's easier to render on a Bangle.js. Just feed the SVG through the converter, paste it in your source file, slap in some rendering code, and away you go!
The converter itself is moderately limited, but it should work for simple graphics. It basically converts all the shapes in the SVG into lists of points that can be fed to drawPoly or fillPoly.
I won't be able to test this outside the emulator until my smart watch arrives, so I would love to hear reports as to how well it works :)
GitHub repo (including the code for rendering the final output): https://github.com/nebbishhacker/svg2bangle
The tool itself: https://nebbishhacker.github.io/svg2bangle
© Espruino, powered by microcosm.
Report a problem