i am looking for an algorithm ( in pseudo code) that generates the 3d coordinates of a sphere mesh like this:
just a guess, you could probably use the formula for a sphere centered at (0,0,0)
x²+y²+z²=1
solve this for x, then loop throuh a set of values for y and z and plot them with your calculated x.