# Change number of segments for each ring on UV sphere (Geometry Nodes)

How do I change the number of segments for each ring on a UV Sphere in Geometry Nodes? The top and bottom rings should have fewer segments so that the letters don't overlay each other.

Here's my setup: • I have made an accepted answer to this question: How can I use geometry nodes to shape this structure into a pyramid? including file to download where I am basically doing what you need, I guess, just with a square shape instead of a circle... so maybe take a look into the file if you can modify it for your needs (in the end, if you create a circle with just four vertices it's a square, too). May 4 at 12:26

You could extract the latitudes of your UV Sphere and convert those to curves: .. which can be sampled by length in Curve to Points.

That means you can space your letters out evenly:  • Thank you! This worked perfectly. May 5 at 9:04

Instead of using a UV Sphere, you could just use maths, by converting between plane and spherical coordinate systems: I wouldn't be surprised if it actually was slower, plus it introduces a problem of having to divide the text into lines by yourself. The advantage is, you can get proper letter spacing (not sure if that's even something you're interested in), and the precision of sampling is as if you sampled on infinitely subdivided curve. This precision thing is subtle and really only visible if instead of positioning entire instances you're realizing them and maybe even subdividing them to make the letter shape conform to the sphere completely… So that's what I show in the example, quite far from the request. To combat the squeeze, I think you would need to divide the x by calculated radius.

• Actually proper letter spacing is the matter not of manually calculating sphere positions, rather spawning the text on a plane first, and then using its x, which can be used as a factor on the curve, so you could still spawn just a single line and sample the factor of all joined curves from uv sphere. May 5 at 9:14
• Makes mine look clunky and simplistic :) May 5 at 9:56