{
const threelet = new Threelet({
canvas: document.getElementById('canvas'),
optAxes: false,
optVR: true,
optVRAppendButtonTo: div,
});
invalidation.then(() => threelet.dispose());
threelet.setup('mod-controls', THREE.OrbitControls);
threelet.scene.add(new THREE.GridHelper(10, 20));
const cube = new THREE.Mesh(
new THREE.BoxGeometry(0.5, 0.5, 0.5),
new THREE.MeshBasicMaterial({color: 0xff00ff}));
cube.position.set(0, 1, -2);
threelet.scene.add(cube);
threelet.render();
return threelet;
}