Graphics in Brainfuck using bfsdl
Who says you cannot do graphics with brainfuck?
My interpreter, bfsdl, executes standard brainfuck code with a twist: the memory space doubles as video memory. It can be used either to visualize the execution of a program or to draw graphics to the screen.
Here is a box drawing program half way through erasing a box:

Downloads:
interpreter C source code
box drawing brainfuck program
Thanks Matthias Schmidt for the base interpreter!
Stumble It!
My interpreter, bfsdl, executes standard brainfuck code with a twist: the memory space doubles as video memory. It can be used either to visualize the execution of a program or to draw graphics to the screen.
Here is a box drawing program half way through erasing a box:

Downloads:
interpreter C source code
box drawing brainfuck program
Thanks Matthias Schmidt for the base interpreter!


1 Comments:
This post has been removed by a blog administrator.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home