Aimer help

you can download the application that is shown in the video in the app store if you would like, not a promotion (says, most promotions)
How would you implement this aimer.

Basically the dots are kept apart from each other by the distance of the one infront and behind it, then the direction from the touch position and the player are calculated to get the final position the dot should be at. I really do not know how i would write this in code, i have tried multiple ways, i am probably thinking about this completely wrong aswell. Any help would be very much appreciated. Thank you.

You could use a lerp between the initial point and touch.position.

Transform point;
Transform[] dots;

void Update()
    {
       if (Input.touchCount > 0)
       {
           Touch touch = Input.GetTouch(0);
           if (touch.phase == TouchPhase.Moved)
           {
               for(int i = 0; i < dots.Length; i++)
               {
                   dots*.position = Vector2.Lerp(Vector2(point.position.x, point.position.y), touch.position, i/dots.Length);*

}
}
}
}