Subscribe / Unsubscribe Enewsletters | Login | Register

Pencil Banner

Computer program creates 8-bit art by playing a game of Tetris

Kevin Lee | June 5, 2013
This amazing algorithm draws video game characters using Tetris.

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.

 

Sign up for CIO Asia eNewsletters.