Michael Birken has created a Tetris playing algorithm that creates video game character pixel art. Bananas, you say? Well, it really is.
Michael created an algorithm that prints out a predetermined set of Tetrominos (Tetris blocks), and places and rotates each square in place. It does this in a super calculated process where it lays out a bottom line of protruding blocks and then clears off everything above that before moving on.
For the much longer explanation, Michael has completely documented the programming and the incredibly smart thought process behinds his Tetris algorithm for your reading pleasure.
[Michael Birken via Boing Boing]
Other stuff you might like...
- This custom-designed Portal-themed bedroom would make Chell proud
- Video: Pigeons can use touchscreens, surprisingly aren't that great at Angry Birds
- 73-year old Excel(s) at making spreadsheet artwork, is way cooler than your grandpa
Get more GeekTech: Twitter - Facebook - RSS | Tip us off
This story, "Computer program creates 8-bit art by playing a game of Tetris" was originally published by TechHive.