Dotstar 8x8 Creature Eyes with Displayio

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
akoebbe
 
Posts: 14
Joined: Sat Jan 23, 2016 8:16 pm

Dotstar 8x8 Creature Eyes with Displayio

Post by akoebbe »

I'm wanting to recreate the creature eyes but using the dotstar 8x8 HD. After spending some time digging in to the code, I see that the Creature Eyes code depends heavily on the Group and TileGrid components of Displayio for sprites in circuitpython. Since Displayio is really made for HUB75 displays, I'm trying to figure out the best way to recreate this for the 8x8 dotstar. I've got all of my bitmaps created for the eyes.

Is it possible to somehow get something usable in a PixelFramebuffer from a Group object? Or would it be possible to create a Displayio class for generic PixelFramebuffers and just use that? I was looking over the displayio.i2cdisplay code, and it doesn't look too complicated to create something similar for a PixelFramebuffer, but this is new territory for me and seems like something that someone else would have already made.

Am I totally going down the wrong path here?

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”