Cue blown mind.

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...

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 .