To create this type of effects, you don't need to edit the images, but from the camera itself you can perform the effect.
But how do you do it?
1-First you need a camera, better known as reflex.
2- configure the camera with the desired speed, how to find this? at the time of raising or lowering the entire scroll of the shutter speed, a special speed option will appear.
3- aim at the objective you want to photograph, it is recommended that the light is moving.
4- keep the button to take the picture, until the activity ends.
I did these steps with a Nikon D5100 camera.
I hope you serve them and recreate their photos.