I have this image, to get this I made a circular gradient from black to white starting from the bottom and going top. So the bottom of the circle is the blackest, and as the radius increases, it gets white.
However, I want it so that, it becomes white but converges to a single point at the top of the circle. So the top pixel of the circle is whitest (not exactly white but just a little darker than white like in the image), and then as the radius increases from the top pixel it becomes darker.
So I need a way to have two points, top and bottom, where it is the lightest and darkest, respectively. And then as the radius increases, it gets grayer.
Does anyone know how to do this? I need to do this myself, so if you can also show how to do this.
EDIT: Here I am splicing two versions and putting them together, but the center gray is not smooth. I am not sure how to fix it.