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:

That should allow you to re-create that video