Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I doubt anyone here really needs it but here's a C program that demonstrates all three functions in a terminal. Just making a global array and a macro for setPixel is enough to play with these and is really pretty much all I did.

https://gist.github.com/3291916



To save you guys the time of running the code yourself, here's the output in codepad.org:

http://codepad.org/y7fIoHlm




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: