A quine in Piet – a GIF image that prints itself [video]

Hacker News Top News

Summary

A video demonstrates a quine written in Piet, an esoteric language where programs are images. A 252x189 GIF serves as both the program and its output, printing itself byte for byte.

No content available
Original Article
View Cached Full Text

Cached at: 08/07/26, 11:09 AM

# A quine in Piet – a GIF image that prints itself [video] **Channel:** surprisetalk Source: [https://www.youtube.com/watch?v=GwMtzhjCzyc](https://www.youtube.com/watch?v=GwMtzhjCzyc) ## Description In Piet, a program is an image. The 252x189 GIF on the left is the program, and running it prints that very GIF, byte for byte. Code and generator: https://github.com/mame/piet-quine Write up: https://dev.to/mame/a-quine-in-piet-and-a-plug-for-the-esolang-design-contest-339o 0:00 Load the data 0:10 GIF header & palette 0:30 Draw the data part 1:40 Draw the code part 2:20 Trailer & halt

Similar Articles

How to Write a Quine

Hacker News Top

An explanation of how to write a quine, a program that prints its own source code without introspection, using an allegory and detailed steps.

asciiQuake

Lobsters Hottest

AsciiQuake is a tool or project that renders the game Quake in ASCII art, likely for text-based play or retro computing applications.

Qwen 3.8 FP8 (xhigh) Lava lamp prompt result!

Reddit r/LocalLLaMA

This article showcases the output of the Qwen 3.8 FP8 model in generating a self-contained HTML file for an animated lava lamp, highlighting its impressive code generation performance.