I want to replicate a plot I found on wikipedia:
https://en.wikipedia.org/wiki/File:QHO-coherentstate3-animation-color.gif
Which is a visualization of a function from the real numbers to the complex numbers. I started just trying to plot the absolute value of the function and then color it by its argument using Plot and ColorFunction by I couldn't quite figure out how ColorFunction works. Any help doing that, and then maybe going forward in replicating the whole thing by filling the area under the curve with the color of each point?