Incredible Christmas Tree Lights using AllPixel, BiblioPixel and PixelWeb via Maniacal Labs
Anyone can string up some digitally controlled LEDs to a tree all willy-nilly and light them up, but making the animations work smoothly over the whole tree as a 3D object takes a little extra work. BiblioPixel has a controller called LEDCircle which takes the hard work out of working with circular displays (or conical in this case, which is just a circle extruded over a point since we only care about the surface). But instead of using pixel indices or (x,y) coordinates, you can use polar coordinates: radius and angle. But we need to know how many pixels makes up each ring on the code. This required some very careful layout of the pixels on the tree, counting the total number of pixels on each ring. Fortunately, unlike a real tree, the branches are evenly spaced on 14 separate levels. With this information in hand, we can define the rings on the display:
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Transforming Today’s Bad Jobs into Tomorrow’s Good Jobs
Wearables — Etching a stencil
Electronics — Is your op amp going crazy?
Biohacking — Token – A Wearable Ring with NFC & Bluetooth
No comments yet.
Sorry, the comment form is closed at this time.