James Rutherford · @jtruk
115 followers · 90 posts · Server mastodon.social

I flippin love coloured lights! ♥️💚💙
Here's the scrolly message code so far.
Please applaud the kerning.
The is a hunk of fun to play with. The 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!

#galacticunicorn #picographics #pimoroni #raspberrypi #leds #creativecoding

Last updated 3 years ago

James · @jtruk
176 followers · 315 posts · Server mastodon.social

I flippin love coloured lights! ♥️💚💙
Here's the scrolly message code so far.
Please applaud the kerning.
The is a hunk of fun to play with. The 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!

#galacticunicorn #picographics #pimoroni #raspberrypi #leds #creativecoding

Last updated 3 years ago

yezzer · @yezzer
319 followers · 283 posts · Server fosstodon.org

So @kenney's work is handy for nice UI assets on tiny screens too, using sprite sheets

#RaspberryPiPico #picographics

Last updated 3 years ago

yezzer · @yezzer
317 followers · 280 posts · Server fosstodon.org

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.

's included in was returning 0,0 until decoding and displaying the JPG, so if anyone needs to do get the height and width in so you can do things before displaying the image, here's a gist with the basics:

gist.github.com/yezzer/737f61e

#pimoroni #jpegdec #picographics #micropython

Last updated 3 years ago