I found some images online of slot machines and printed them out on the spilleautomater tricks merkur programmering color plotter here at work (shhhhh)the reels area was laminated with clear sticky shelf paper stuff and set against a hole cut in the box backlit by three LED tap lights.
Oddly enough, the campground we always go to for their Halloween weekend lost power soon after dark for an hour and she was the blinking beacon of the streets.
Void dither(uint32_t c, uint8_t wait) / Determine highest bit needed to represent pixel index int hiBit 0; int n mPixels - 1; for(int bit1; bit 0x8000; bit 1) if(n bit) hiBit bit; int bit, reverse; for(int i0; i (hiBit 1 i) / Reverse the bits.SetPixelColor will clip / any pixels off the ends of the strip, no worries there.I also found refurbished slot machine buttons on eBay as well.For(j-2; j 2; j) tPixelColor(posj, lor(0,0,0 / Bounce off ends of strip pos dir; if(pos 0) pos 1; dir -dir; else if(pos mPixels pos mPixels - 2; dir -dir; / Sine wave effect #define.14159265 void wave(uint32_t c, int cycles, uint8_t wait, int repetitions).I used two strings of multi-colored LED rice lights to line the front perimeter or the box from the inside through small holes and two LED blinking toys (from dollar store, hard to explain them but they were awesome) to make the shoulder lights.We use each pixel as a fraction of the full 384-color wheel / (thats the i / mPixels part) / Then add in j which makes the colors go around per pixel / the 384 is to make the wheel cycle around tPixelColor(i, Wheel( (i.
Votes: 29 29 votes * Comment: * Your Name: * Your Email: Notify me about new comments to this costume.
I ordered actual slot machine reel pictures from eBay which I put on plastic cylinders I found.
The colours are a transition r - g -b - back to r uint32_t Wheel(uint16_t WheelPos) byte r, g, b; switch(WheelPos / 128) case 0: r 25 - WheelPos 128; /Red down g WheelPos 128; / Green up b 0; /blue off break; case.
The framework (box) of the Slot Machine Costume was hand cut from reflective foam insulation board (the kind for houses, no fiberglass)and taped together with reflective crome tape.
#include "LPD8806.h" #include / Example to control LPD8806-based RGB LED Modules in a strip /digital in pin 11 /clock in pin 13 / / / The LED strips are 32 LEDs per meter but you can extend/cut the strip.The wheels spun on a metal rod.I used small portable speakers to play the slot machine music when people hit the buttons.I printed out the graphics on transparent sticker paper to it would blend into the 'box' part of the costume.I made the handle out of PVC and a red ball.A black long sleeve shirt with one arm painted silver and black gloves finished it off.LPD8806 strip LPD8806(32 / Set the first variable to the number of pixels.I kept the box even on my shoulders by using suspenders.32 32 pixels in a row void setup / Start up the LED strip gin / Update the strip, to start they are all 'off' ow void loop /color, density, delay, low point, high point 101, 152 /color, delay, start of segment, end of segment.