What would the Geometry Nodes for this problem would look like?

Eg like this.

1 Like