[Bill] has been working with a gaggle of 8th graders this summer at a STEM camp, impressing them with his geeky attire such as an 8-bit and PCB ties, and an LED illuminated lab coat. The adolescent tinkerers asked him what he would be wearing on the last day. Not wanting to let the kids down, he whipped up an LED Tetris tie in an evening.
The Tetris board is a 20 x 4 grid of WS2811 based RGB LED strips, controlled by a Digispark dev board. Structurally, the tie is just two bits of card stock with the electronic bits sandwiched in between. and taped to a cheap clip-on. In the video below, the tie doesn’t have any sort of input to control the movement and rotation of blocks. [Bill] plans to update his tie with some rudimentary AI so it can play itself.
All the code is over on [Bill]’s git. It’s still a work in progress, but from the STEM student’s reaction, there’s a lot of potential in this tie.
[youtube=http://www.youtube.com/watch?v=JNLJZY2Oivs&w=580]
You could use this algorithm to print images:
http://meatfighter.com/tetrisprinteralgorithm/
You’d need a pretty wide tie (“It is not possible to emit a square of all 3 colors in the first 2 and the last 2 columns due to the shapes of the 3 Tetriminos. As a result, the minimal width of a playfield to accommodate a 16 pixel wide sprite is 2 + 16 + 2 = 20 squares.”).
Also, a beefy processor.
Where’s the tetris song, for the next revision it needs to play the tetris song.
While I agree it would be cool at first, the tie was distracting enough as it was for the kids, adding the song would have made it worse! I also couldn’t risk using the song in the video for fear of the mighty YoutTube infringment hammer.
Yea, In cab see the kiddies getting a little overexcited, but since your going to do another version that you can control maybe add an on off button for the music.
Nice prototiepe!
First, holy cow I want one!
Second, your tie is AWFUL at playing Tetris ;)
CLIP ON? You people disgust me!
Have you ever tried tying a knot in a tie full of electronics? Practically impossible! :P
Give it a another 10-15 years and you can dislike peoples tie choices without impunity. The tech should be good enough for that by then.
A few years ago, there was a project on HackADay that could detect whether your finger was near a grid of LEDs and where, exactly, on the grid it was. I went hunting for it and created a bookmark, but that was a different computer.