Detect collision and dont overlapping and take all the screen size

hello I want to build like this website but I don’t now if the three.js is the right technology should I use to build it please I want only the advice if the three.js can build exactly like this website and it is hard to do this with three.js
this is link of the website:

You can build this with three.js or pretty much any other WebGL library.

thank you so much I am still learning three.js to do it please any recommendation for libraries or how to search for library to do this work thank you so much