comScore

Writing Code in MS Paint [Animation]

In this entertaining little animation (bonus points for being in animated GIF form), the creator illustrates how it is possible to use MS Paint to write computer code.

HN reader perlgeek explains how:¬†“The maker of the picture wrote the code first in a text editor, and then for each triple of ASCII characters he found the corresponding RGB value, and set one pixel to it.¬†Since the bitmap is just a header (the mojibake you see at the start of the text file) and then a bunch of data bytes, the data bytes can be read as plain text again.”

(via HN)

Have a tip we should know? tips@themarysue.com

Filed Under:

Follow The Mary Sue: