Blinkenschild: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 84: | Zeile 84: | ||
===Software=== | ===Software=== | ||
===general knowledge=== | |||
Animations are generated with Glediator. | |||
Glediator support GIF files, nad thats great for pixel animations .. protip: you can search on google for animated gifs at a certain size. | |||
To display the gifs correctly each frame needs to have the "dispose" flag set, you can do this in photoshop, i am sure there is a way to do this automatically with image magick, but i really like photoshop for image editiing. | |||
The Glediator output structure looks like this: | |||
0x01 marks the head of frame | |||
It is followed by (<no of pixels> * 3) bytes of data. These bytes describe RGB values but how they are ordered (RGB,RBG,BGR,GRB,GRB,GBR) can be selected in the glediator output configuration. | |||
In OctoWS2811 you can use setPixel(int <no>, int R, int G, int B) to set a pixel. | |||
I output the animations using GRB color encoding and horizontal linewise starting bottom right (HL_BR) order of strips. | |||
I have a lookup table for the 960 leds that show what pixel is at what position. | |||
===hacks=== | |||
Glediator is GREAT. It can do 12324 things, runs on all the platforms and performs really well. | Glediator is GREAT. It can do 12324 things, runs on all the platforms and performs really well. | ||
Zeile 124: | Zeile 150: | ||
|style="vertical-align:top"|[[Bild:blinkenschild1.jpg|thumb|300px|What the horse?]] | |style="vertical-align:top"|[[Bild:blinkenschild1.jpg|thumb|300px|What the horse?]] | ||
|style="vertical-align:top"|[[Bild:blinkenschild2.jpg|thumb|300px|Power to the blinky]] | |style="vertical-align:top"|[[Bild:blinkenschild2.jpg|thumb|300px|Power to the blinky]] | ||
| | |- | ||
|style="vertical-align:top"|[[Bild:blinkenschild4.jpg|thumb|300px | |style="vertical-align:top"|[[Bild:blinkenschild4.jpg|thumb|300px]] | ||
|style="vertical-align:top"|[[Bild:blinkenschild5.jpg|thumb|300px| | |style="vertical-align:top"|[[Bild:blinkenschild5.jpg|thumb|300px|Wahlk(r)ampf.]] | ||
|} | |} | ||
Zeile 132: | Zeile 158: | ||
{{#ev:youtube|VX14pmky07Q}} | {{#ev:youtube|VX14pmky07Q}} | ||
(in case there is no embedded video look [https://www.youtube.com/watch?v=VX14pmky07Q here]) | (in case there is no embedded video look [https://www.youtube.com/watch?v=VX14pmky07Q here]) | ||
==Links== | ==Links== |