Awesome Algorithm Teaches Tetris To Draw Video Game Characters [Video]

Conceivably, you could do this on your own. In practice? Just watch this algorithm do it.
This article is over 11 years old and may contain outdated information

Recommended Videos

From programmer Michael Birken comes a new way of drawing video game characters that is probably more complicated than it needs to be, but all the more incredible for it. Birken has designed an algorithm that can place single blocks of color in Tetris by strategically building and destroying lines at lightning speed. Precisely place enough blocks, and you’ve got a made to order line. Stack enough lines and the result is a pixellated picture of…well, anything you want, in principle, though Birken started off training the program to build images of classic 8-bit characters like Mario, Link, and Samus. As you might expect, the process that makes it happen is bafflingly complex, but the results — as seen in this video —  are stunning.

If you want to know more about how the algorithm works — complete with handy animations of how to get a single block or precisely printed line — you can do so here. If you just want to sit at your desk hypnotized by the flashing colors and apparent magic of it all, though, we certainly can’t blame you for that.

(via BoingBoing, Meatfighter)

Meanwhile in related links


The Mary Sue is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more about our Affiliate Policy
Author
Image of Ian Chant