How can I achieve this effect with OpenGL?
I'm currently working on my program for my bachelors degree: I'm going to do a comparison of various (simpler) ways one could run a gravity simulation (with the most complex being Barnes-Hut ran with CUDA). I'm also including a GUI, witch which I'd like to display the simulation (or a playback of a precomputed simulation). I've got a control set up nicely and displaying the simulation simply as GL_POINTS:
What I would like to have is something like this:
I find the simulation visualizations above absolutely beautiful and would like to know how I could go about implementing them (or something similar to them) into my own program.