Hello Everyone,
I had asked a question a few days ago, thanks for the answers.
Now I need to improve this code.
I have to draw a circle at only 24 different points like this:
Also at this points I have to show some lines. in other words one of the 24 points is begining point of the line. so x1 and x2 are the first coordinate of this line.
the angle between the line and positive x-axis changes like this:
Actually, the main problem is the drawing the line which depends on the Psi and Phi. the points on the circle depend on the Psi, on the other hand the second coordinates of the lines depend on the Phi. Also Phi must be changed with Psi like this: