How to achieve this (any other ways)

Hi people, so i was trying to make these lines follow a path, but is there a way to do this without manually changing the vertices of each line, is there any better method?

Screen Recording 2025-10-14 at 10.09.16 PM.mov