<story><title>Image that contains the code that generated it</title><url>https://allrgb.com/recursive</url></story><parent_chain></parent_chain><comment><author>d--b</author><text>Actually it&amp;#x27;s not so amazing. The program does not render the characters based on code, it actually loads its own source code from a cpp file and renders it as an image. You probably could run this program but give it a different cpp file and it would generate another image...</text></comment>
<story><title>Image that contains the code that generated it</title><url>https://allrgb.com/recursive</url></story><parent_chain></parent_chain><comment><author>version_five</author><text>Am I right that the image doesn&amp;#x27;t actually contain the code, as in encode it, but rather has a blurred, stylized version of the code? It&amp;#x27;s not some kind of quine or whatever the of the code to create the image counts as. (Edit: I&amp;#x27;m on mobile so just saw a thumbnail, I realized now that it does have all the code in it)&lt;p&gt;The really cool thing I noticed about this website was the different sizes of the image. The aim is to make a 2^24 pixel image that uses each color on the rgb color space once. That&amp;#x27;s 48 MB notionally, and some of the images are 20 or 30 MB, but then others are &amp;lt; 1 MB that have a repeating pattern.&lt;p&gt;Obviously it&amp;#x27;s possible to encode the image that contains its code in a few kb corresponding to the 100ish lines of code in the image, but the actual size is 42 MB, unsurprisingly the png encoding or whatever it is didn&amp;#x27;t find the shortcut</text></comment>