At present, I am using random form to draw some point cloud figures. At present, I have successfully realized the drawing of circles and cubes. They look like this:
But when I try to draw a pyramid, I can’t find a reasonable way to randomly generate points on the surface.
I think I need some advice or ideas.