Plain port of particles example to GLFW 3.