Yusuke Endoh's Qlobe quine rotates 45 degrees each time it runs

The Qlobe: Rotating Quine (2010)

Rubyist Yusuke Endoh built a quine that prints its own source code as a rotating ASCII globe. Each execution turns the Qlobe 45 degrees, so after eight runs it returns to its starting orientation. Passing an integer as a command-line argument lets you set any rotation angle. The code packs the sphere's data with zlib and renders it character by character, and the whole thing is written to be portable beyond Japanese-specific quines.

This quine turns 45 degrees when executed; thus, it will come around when executed eight times.

More from this day

2026-11-09