I wrote a program that displays a 2D sine pattern in the console. It's mainly just for fun, as it doesn't really do anything else, but it looks cool.
NOTE: If it gives errors about unresolved externals when you try to compile it, it's because you need to link it with a curses library, such as ncurses or pdcurses.
Source code:http://pastebin.com/n49wmSb3
Sample output:http://pastebin.com/0r38z05H
NOTE: If it gives errors about unresolved externals when you try to compile it, it's because you need to link it with a curses library, such as ncurses or pdcurses.
Source code:http://pastebin.com/n49wmSb3
Sample output:http://pastebin.com/0r38z05H