Braincopter

Braincopter is an esoteric programming language that is an almost identical clone of Brainloller designed by Lode Vandevenne in 2005. The commands and the specification are exactly the same as those of Brainloller. The Brainloller interpreter can be converted into a Braincopter interpreter by changing only a few lines of code. Like in Brainloller, the Braincopter source code has to be a PNG image.

While in Brainloller, every command has a fixed color value and all other 16 million colors are a NOP, in Braincopter, the command is obtained by using the formula (65536 * R + 256 * G + B) % 11 (equivalently, (- 2 * R + 3 * G + B) % 11). This means that you can use almost any color to represent the command you want, so it's easy to convert a photo into Braincopter code by, for every pixel, taking the closest color value that gives the right command. The difference between the original photo and the modified photo containing Braincopter code is nearly impossible to spot; thus Braincopter has excellent steganography support and may be used to encode information in images.

Basically, Braincopter is Brainloller, but modified to encode its source code in images.

The translation of the 11 commands into Brainfuck/Brainloller follows.

Since the original interpreter source has been lost, User:Peping has made a new interpreter and a converter from brainfuck to braincopter. This one has since disappeared as well; however, upon being asked, Lode Vandevenne quite courteously re-uploaded the original files.

External resources

 * Original interpreter source code
 * Lost Kingdom Code Example