We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

BrainFlash

From Esolang
Jump to navigation Jump to search

BrainFlash is an esolang that's basically brainfuck, but with colors. There is a 2x2 grid the commands go on, and every 4 commands, you go to the next 2x2. When done, connect them into an animation with as many frames as there are 2x2s. Alternatively, you can show it as a set of images.

Commands
Color Instruction Meaning
Red < Pointer left.
Yellow > Pointer right.
Green + Add one to the current cell (mod 256)
Cyan - Subtract one from the current cell (mod 256)
Blue , Ask for input.
Magenta . Output the current cell in ASCII.
White [ Start while-not-0 loop.
Black ] End while-not-0 loop.

I don't really need to explain that much, since it is a trivial brainfuck substitution. See brainfuck if you want to understand the syntax more. Okay? Okay.