A normal PolarPlot
takes in a function of an angle $\theta$ and outputs a 2D graph in which the value of the function at each value of $\theta$ is encoded by the graph's radial distance from the origin at that angle. For example, for the polar function $f(\theta)=sin(3\theta)$, PolarPlot[Sin[3θ], {θ, 0, 2Pi}]
looks like this:
I'd like to create a similar plot, but instead of indicating the value of the function by means of the radial distance from the origin, I'd like to instead use the color of the point. For simplicity, assume the function I wish to plot is confined to values between -1 and 1. Using the same example as above, my desired representation of $f(x)=sin(3\theta)$ would be something like this:
I will post the code I used to create this image below as an answer, but I'm guessing I can do better. I'm not committed to the output being a plot; just a circle, colored appropriately, would be sufficient.