How can i make those lines to rotate on its own axis
An axis of a line is on the line itself so the rotation will have no effect on the line!! You surely means something else but without definition. It is hard to guess