A simple SDL2 starfield animation. Most of the ideas where taken from this wonderful classic: http://web.archive.org/web/20160114180422/http://freespace.virgin.net/hugo.elias/graphics/x_stars.htm
The code initializes an SDL window, handles user input, and renders a starfield with a streak effect.
- Install SDL2 libraries and compile and link with "gcc nstar.c -o nstar -lSDL2 -lm"
- Alternatively run "bash compile.sh"