Tell us about yourself!
Mod My Pirate RadioView Instructable »
Hi, thank you for the comment. We are working on a Snakes game that uses the TFT screen, but this time with a joystick, so it's not a touch screen project. But I suppose it could be a future Instructable.
That's great; we are glad to hear that it worked.
The gramophone was a vector graphic processed into runs of line segments. The draw_shapes() function is used for drawing those runs of line segments. Adafruit's img2code gives back a bitmap graphic, for drawing with tft.drawBitmap(). If you have already processed your file with img2code, you could simply switch the call from draw_shapes() to tft.drawBitmap().The Ruby program will not help you unless your original is an SVG file. And the procedure for converting an Inkscape drawing (or other .svg format drawing) into a bitmap is a bit involved and needs preparation in Inkscape. It could be its own Instructable. [Thanks to Andrew for help with this reply.]