Using Three.js library in weweb

I used the Statechange Weweb Embedder with the following code and gave me code to add THREE to my window (e.g. wwLib.getFrontWindow() ). I apologize that I haven’t dug further at this time, but I hope it gives you a hook to start with:

<script type="module" >
import * as THREE from 'https://cdn.jsdelivr.net/npm/three@0.164.1/build/three.module.js';
window.THREE = THREE;
</script>
1 Like