There will need to be some modifications when it comes to the Webflow site and its elements as the example in the shared link is in an app setup environment.
All in all, it seems like a good start is to connect the threejs library (including one of these in your <script> tags) to your Webflow site and then copy and paste the related code into the custom code settings within the Webflow page.
For some more references, here are some good community posts of Webflowers adding similiar code to their projects: