I flippin love coloured lights! ♥️💚💙
Here's the scrolly message code so far.
Please applaud the kerning.
The #GalacticUnicorn is a hunk of fun to play with. The #PicoGraphics interface seems very suboptimal for pixel work. Lots of set_pen(create_pen(...)) calls. And I've got a feeling there are errant pixels - hard to pick up IRL but I think they're in the video.
That's enough for now!
#Pimoroni #RaspberryPi #LEDs #CreativeCoding
#galacticunicorn #picographics #pimoroni #raspberrypi #leds #creativecoding
I flippin love coloured lights! ♥️💚💙
Here's the scrolly message code so far.
Please applaud the kerning.
The #GalacticUnicorn is a hunk of fun to play with. The #PicoGraphics interface seems very suboptimal for pixel work. Lots of set_pen(create_pen(...)) calls. And I've got a feeling there are errant pixels - hard to pick up IRL but I think they're in the video.
That's enough for now!
#Pimoroni #RaspberryPi #LEDs #CreativeCoding
#galacticunicorn #picographics #pimoroni #raspberrypi #leds #creativecoding
So @kenney's work is handy for nice UI assets on tiny #RaspberryPiPico screens too, using #PicoGraphics sprite sheets
#RaspberryPiPico #picographics
TIL a JPG doesn't have any headers that define the height and width of the image?
You have to loop through the file, checking the bytes in the segments? What. That seems...inefficient.
#Pimoroni's #jpegdec included in #PicoGraphics was returning 0,0 until decoding and displaying the JPG, so if anyone needs to do get the height and width in #MicroPython so you can do things before displaying the image, here's a gist with the basics:
https://gist.github.com/yezzer/737f61eff7d6ff9f5ce471b3298aeacb#file-get_jpg_size-py
#pimoroni #jpegdec #picographics #micropython