whats with all the polar coordinates? In Photoshop:
Create a circle shape layerThen Layer>Layer Style>Gradient OverlayChoose the Spectrum gradient from the default listChoose Angle as the StyleClick OK
done.