Begging for help here! js code

ive been trying to implement three.js into webflow for about a year, most of my posts get washed off in the forum pretty quickly.

There are multiple examples on how to do this with fiddles and other examples but i simply dont know how to embed or implement this on webflow.
PLEASE someone provide some help with this, share a cloneable page so we can all reverse engineer it after.

example 1
https://stackoverflow.com/questions/25894746/three-js-embed-html

fiddle

example 2
https://stackoverflow.com/questions/13542175/three-js-ray-intersect-fails-by-adding-div/13544277#13544277

fiddle

fiddle