I had a Raspberry Pi sitting around my house, as I’m sure many do, and I thought to myself “Boy I sure could use a $100 desk clock!” So I went on ebay and bought a 7” touchscreen LCD that accepts HDMI input, setup AdaFruit’s WebIDE on my raspberry pi, and started hacking. Here’s the result so far…
When the images are downloaded from Flickr, we put them through a scaling method to ensure they’ll fill the entire display. They’re then placed on a queue to be displayed next.
Once the app gets a new image in the queue, there’s a one second(ish) fade transition to the next image.
If you didn’t notice, it’s designed after Windows 8’s lock screen, using the same Segoe UI font and everything.
I tried to be all multithready so that the downloading and processing of each image doesn’t block the main drawing thread and introduce slowdown.
This is my first actual attempt at Python, so be nice :P
- Notification icons (again, like Windows 8) to indicate if you have unread mail / tweets / other notifications.
- More of a “slide-up-tile” transition
- Improve performance (right now the fade transition is a bit choppy)
If you’d like to see the code or help out, check out the github repo