Sphere of cubes (almost)

Good afternoon. I want to create a sphere that is covered by cubes. Just like in the picture
image

I do not know how to do this. Perhaps this is done using mesh. Thanks for the help in advance

You can create a high res sphere in Blender and use its vertices to position your cubes. Or you can create the points procedurally.

The cubes won’t be perfectly distributed and there’ll be some squishing in certain areas. Your screenshot suggest you want a quad based sphere but you could also use a UV based sphere which will result in squishing at the poles instead of at the corners of an inflated cube.

UV vs Quad.

Or another way to do it is through barycentric coordinates where you can turn a UV coordinate into a world space coordinate.