Tetris Can Now Be Your Printer!

A resourceful Java programmer has created an algorithm that will print any image!

Michael Birken, a resourceful java programmer, has used his programming know-how to craft an algorithm that can convert a picture into a Tetris game. His algorithm goes through and image and finds the various pixels and their shapes and finds spots where a Tetrimino could be placed.  As Birken states on his site, 

Recommended Videos

“The Tetris Printer Algorithm converts each row of the bitmap image in a series of passes. Moving from left to right, each pass greedily plugs in J, T and L Tetriminos whenever they fit. For example, the image below contains a row of 16 pixels from a bitmap image.

The 5 passes required to cover the 16 pixels appear in the images below.”

More detail can be found on Birken’s site, which is linked below, but it is crazy to think that no other programmer has tried anything like this.

Finally, for those of you that also call yourself programmers, you can even check out his source code of the Tetris Printer here. Now the only one question remains, can the greatest Tetris players in the world craft images like this program? Hopefully one day we can see them fight side by side, making an awesome sprite of Mario.


GameSkinny is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article Daggerheart Open Beta First Impressions: For the Love of Improv
Daggerheart media image of floating bookshelves.
Read Article 10 Princess Peach: Showtime! Fanart to Wow Nintendo Lovers
Art of Princess Peach in a title screen with banners and star under her and title of the game above
Read Article All Maps in Midnight Ghost Hunt, Ranked
Team of Hunters armed and ready to fight
Read Article The Best Skyrim Zombie Apocalypse Mods
Zombies rising from graves in foggy setting
Read Article Every Soulsborne Game, Ranked from Worst to Best
Sekiro holding up his sword to fight in Sekiro
Related Content
Read Article Daggerheart Open Beta First Impressions: For the Love of Improv
Daggerheart media image of floating bookshelves.
Read Article 10 Princess Peach: Showtime! Fanart to Wow Nintendo Lovers
Art of Princess Peach in a title screen with banners and star under her and title of the game above
Read Article All Maps in Midnight Ghost Hunt, Ranked
Team of Hunters armed and ready to fight
Read Article The Best Skyrim Zombie Apocalypse Mods
Zombies rising from graves in foggy setting
Read Article Every Soulsborne Game, Ranked from Worst to Best
Sekiro holding up his sword to fight in Sekiro
Author
AJMandula
Hi! I'm a game developer from Colorado working on a game, 5th beat for the OUYA. When I'm not working on my own games, I am playing what I can on my PC, 3DS, Vita and iPhone.