0

New and improved LED animation library
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

New and improved LED animation library

by adammhaile on Sun Nov 09, 2014 8:42 pm

Two years ago, I posted about my extended Raspberry Pi library for the LPD8806 LED strips (viewtopic.php?f=47&t=33418). Well, I’ve been working for over a year on a completely new, rewritten library I call BiblioPixel.

This time, I’ve gone way beyond just the LPD8806 and Raspberry Pi. BiblioPixel takes the pain out of controlling your LEDs and programming your animations. It provides a “code once, run on anything” foundation with a robust driver model, allowing control of nearly any display type, strip or matrix. For matrices built from LED strips, it automatically handles the conversion of (x,y) coordinates to strip indices. It is also orders of magnitude faster than the old library, having been written with high frame rates in mind.

On devices with SPI output, such as the Raspberry Pi or BeagleBone Black, strips like the LPD8806 or WS2801 can be controlled directly. Animations can be sent over a network connection to a remote device, and then output to a set of LEDs. There’s even a built-in software visualizer for displaying animations directly in a window; great for testing.

What makes this new library special is the ease of writing new animations and adding device support. Details on both are available in the GitHub wiki.

https://github.com/ManiacalLabs/BiblioPixel

For an example of this library in action, check out this video: http://youtu.be/yE_N2OHX2uU

adammhaile
 
Posts: 76
Joined: Fri Sep 10, 2010 9:09 am

Re: New and improved LED animation library

by adafruit_support_bill on Mon Nov 10, 2014 6:37 am

Cool! Thanks for sharing.

adafruit_support_bill
 
Posts: 74965
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.