If you're reading this, it probably means you're on mobile. Don't be queer and read this on a computer like our ancestors intended.
Jim's Corner of the Internet

bfpprint


I saw a random YouTube short with text being generated and printed out to the terminal in a kind of brute fashion where the text was being generated one character at a time, cycling between the letters seemingly at random until it printed the correct one.

I thought it looked cool and wanted to replicate it in C.

The program source can be found on GitHub.

An example on how the program works:


example

As of the time of writing, usage is simple:

usage: bfpp [-c] WORDS...
    -c   clears the screen every write to stdout

I’m probably going to add a ‘-d’ option to control the delay.

That’s all cunts.