Here is a quick video of my beta cLEDSprites class.

Here is a quick video of my beta cLEDSprites class.
It should support unlimited sprites of any size in either 2, 4, 8 & 16 colours with priority control to control overlay order.
At the moment I have it so you can automatically have each sprite move and scroll through multiple image frames at individually controllable rates.
Am thinking about edge detection and possibly collision detection next :slight_smile:
http://www.youtube.com/watch?v=goU5Q-jLWRc

Wot no alpha channel blending? :wink:

That’s on the list, along with pixel shaders, vertex shaders, Transform and Lighting & Cube Environment Mapping.
Should make version 99! :-,)

Ha! I fiddled with sprites a while ago, and it turned out that things like FastLED’s blend() make alpha channels really easy to do.

You boys are awesome… where’s my ‘I’m not worthy’ hat? :frowning:

I have updated my github with the Sprite class & examples, no instructions yet though :frowning:

I have also renamed my TextScroller class to LEDText for consistency :wink:

I think I’m going to make a zeppelin and stick a couple of matrices on the sides of it… I’ll call it… WS2812B Zeppelin! That’s catchy, innit? :wink:

So many Burning Man projects, so little time.

(But holy crap that’s a great idea… an autonomous LED-encrusted Zeppelin!)

Tried your text scroller yesterday on a 20x10 P9813 matrix, it’s freaking awesome! I’ve never seen my led’s blink up so fast. Had to increase the delay a lot to actually read it :wink:

Thanks :slight_smile:
It’s always good to know your work is appreciated and being used. I am tempted to revisit the class and add support for fonts wider than 8 bit as well as multicolour fonts using my cSprite define macros that allow easy source code multi bit graphics.

Hi Aaron,
I like your work a lot. I was wondering if there is an easy way of porting this to the parallel output capabilities of fastled. Like in the paralleloutputdemo in Fastled library ?
I actually use a Teensy to drive 8 strips of 40 Leds and I just tried to adapt and it doesn’t look so easy. If you could give me a hint or if you have don’t it already it would help me a lot.
KR,
Rudy

I have been away working since early October so haven’t even used the V3 library yet.
However when I tried parallel output on my WS2812b matrix I didn’t find any speed advantage.
Anyway I presume your matrix is using 1 strip per line?
If so try the following:
cLEDMatrix<40, 8, HORIZONTAL_MATRIX> leds;
then for each ‘addLeds’ line limit the Size to 40 but increment the ‘leds’ array index by 40 for each line.
FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds[0], 40);
FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds[40], 40);
FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds[80], 40);
etc

I think that should work :wink:
Let me know how you get on.

Thanks Aaron,
It helped and I have iT running

KR,
Rudy