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 The 10 Most Disturbing Vault-Tec Experiments in Fallout, Ranked
Three Vault Boy's in front of an open vault door.
Read Article Top 21 Strongest Non-Legendary Pokemon
Haxorus, Metagross, Ninetales, Excadrill, and Dragonite pose during a picnic in Pokemon Scarlet & Violet
Read Article New CS2 Patch Aimed at Removing Cheaters
Dust 2 in CS2, A site, T aiming at a CT
Read Article Fallout 76 New Season Rewards System Is a Deathclaw to Gameplay
Top of the World mezzanine level shop.
Read Article 10 Best Games Like Stardew Valley
Basic farm with coop and barn.
Related Content
Read Article The 10 Most Disturbing Vault-Tec Experiments in Fallout, Ranked
Three Vault Boy's in front of an open vault door.
Read Article Top 21 Strongest Non-Legendary Pokemon
Haxorus, Metagross, Ninetales, Excadrill, and Dragonite pose during a picnic in Pokemon Scarlet & Violet
Read Article New CS2 Patch Aimed at Removing Cheaters
Dust 2 in CS2, A site, T aiming at a CT
Read Article Fallout 76 New Season Rewards System Is a Deathclaw to Gameplay
Top of the World mezzanine level shop.
Read Article 10 Best Games Like Stardew Valley
Basic farm with coop and barn.
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.