Tetris Printer Algorithm

Gepostet vor 4 Jahren, 1 Monat in #Games #Misc #Coding #Retrogames #Tetris

Share: Twitter Facebook Mail

 Youtube Direkttetris

Michael Birken hat einen Algorithmus entwickelt, mit dem er Bilder mit Tetris pixeln kann: „By rotating, positioning and dropping a predetermined sequence of pieces, the Tetris Printer Algorithm exploits the mechanics of Tetris to generate arbitrary bitmap images“. Großartig!

The algorithm converts pixels from a source image into squares in the Tetris playfield, one row at a time from the bottom up. To generate an individual square, the algorithm assembles a structure consisting of a rectangular region fully supported by a single square protruding from the bottom. When the rectangular region is completed, its rows are cleared, leaving behind the protruding square. […]

During construction of a row, all of the squares produced by this method must be supported. In the images above, the generated squares are supported by the floor of the playfield. However, if an arbitrary row contains holes, it may not provide the support necessary for the construction of the row above it. The algorithm solves this problem by constructing a flat platform on top of the row with holes. In the animation below, a platform is built above a row comprising of a single red square. The platform is a temporary structure and inserting the final piece removes it.

Tetris Printer Algorithm (via Interweb3000)

Abandoned Popculture-Megastructures

Lovely renderings by Filip Hodas (Instagram, Behance, Prints at Society6). I especially dig the giant Pacman-Wrecking-Ball and the abandoned Bender-Head.

Wikipedia Text-Adventure

Toller Hack von Kevan Davis: Wikipedia als Text-Adventure. (via Waxy) Ich begann mein Abenteuer grade in Hell, Norway.

Stereographic Torus Knot

I'm not sure what's going on here but I like it: „This is very similar to Rise Up, though with…

Hyperkin Ataribox

Hyperkin haben anscheinend ihre Flashbak-Atari-Konsolen neu aufgestellt und zeigten auf der E3 das HD-fähige RetroN77 vor. Aus Hyperkins E3-Listing: „The…

Very Bad Volume Control Interfaces

Vor einer Woche postete Redditor Jacobone dieses Interface für Lautstärkeregelung von irgendeiner Win-App. Then this happened: r/ProgrammerHumor/search?q=volume&restrict_sr=on. Because ofcourse it…


Das frustrierendste Game aller Zeiten jetzt endlich mit Actionfigur mit Fackeln zum Schmeißen und allerlei Schnickschnack. Gibt's unter anderem hier…

Monster 6502

Ein riesiger 6502 aka der Prozessor des Apple I, Atari 800 oder des Commodore VC-20. Seine Nachfolger steckten unter anderem…

Zalgo Droplet

A Javascript-Droplet „to invoke the hive-mind representing chaos. Invoking the feeling of chaos. With out order. The Nezperdian hive-mind of…

C64-Demo generates itself from Soundtrack

Gewinnerdemo der Revision 2017 von Linus Akesson, ein C64-Hack in 256 Bytes: A Mind is born. Ich verstehe ja noch…

Binary Keyboard

Nette Spielerei von Chris Johnston: „A two-button backlit mechanical keyboard that types ASCII values, one bit at a time.“ (via…

Digital-Uhr in Conways Game of Life

Großartig: Eine Digital-Uhr in John Horton Conways zweidimensionalen zellulären Automaten: Get the design from this gist. Copy the whole file…