How to implement the stochastic position algorithm of the model clone

Hello, everyone. I would like to ask about whether the model has a good algorithm for these random positions of clone as in the video. I really hope that you can provide me with relevant resources. Thank you.

Hello @gaojunxiao -

Check out transform controls: three.js docs

and Mesh Instancing:
https://threejs.org/docs/#api/en/objects/InstancedMesh

That should allow you to re-create that video

Chris