I'm trying to draw a five-pointed star; I have one pair of coordinates (I currently have that at the center of the star) and the "width" of the star.
Now, I've tried a lot around, but I can't figure out a way to find all 10 coordinates just based on these numbers.
I also need to rotate the star at angle x, so i need a way to change the coordinates.
(the thing is done through a custom library in python, but i just need a way to get these coordinates)

For the tips you want to have 5 points evenly spread around a cycle with radius $r$, so take $$\{(r\cos(2\pi k/5+\pi/2),r\sin(2\pi k/5+\pi/2)) \mid k=0,...,4\}$$Do the same for the inner five points, but use a smaller radius and an additional $+2\pi/10$ within $\cos$ and $\sin$ to make them half way between the tips. (I have added $\pi/2$ to make the first tip point up, instead of right...)