I want to place points at equal angles of a range. The first point should always be at 0 and the last point should always be equal to the range amount (unless 360 since I don't want points to overlap). For example:
if my range is 90 degrees and I want to place 3 points:
- 1st @ 0 degrees
- 2nd @ 45 degrees
- 3rd @ 90 degrees
if my range is 180 degrees and I want to place 5 points:
- 1st @ 0
- 2nd @ 45
- 3rd @ 90
- 4th @ 135
- 5th @ 180
if my range is 0 / 360 degrees and I want to place 3 points:
- 1st @ 0 degrees
- 2nd @ 120 degrees
- 3rd @ 240 degrees
Is there a math formula for this?