I want to make a compass rose, with a number of straight lines at equally spaced angles going through a common centre, like this:
I’ve tried drawing one line and then rotating it by 10 degrees repeatedly, but the line drifts off-centre, presumably because of rounding errors in the repeated arithmetic. Is there a better way?