Transform some lines to parametric points

transform some line such as stars from a base point to another point or other parametric points. lines*stars are in a polygon but they are not connected to each other. I dont know which command is suitable for this. i searched avbout them but i couldnt easy way to do that.

@heavenly_diana2000 sorry for the late reply. Did you manage to make this work? otherwise, do can you please post your script or a more detailed description of your issue?