I have the coordinates of points of an empty cube just like down below:
What I would like to do is transform that cube to something like this:
Ther
Draw grids on the faces cube and project every point that you need radially onto the sphere. Assuming the center of the cube at the origin, transform
(x, y, z) -> (x, y, z) / √(x² + y² + z²)