From 89e76e921bed48a96d70c7265acb5938ebe074b3 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Sun, 9 Jun 2024 18:31:51 +0000 Subject: [PATCH] Update index.html --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 6199511..7de3a24 100644 --- a/public/index.html +++ b/public/index.html @@ -24,10 +24,10 @@ async function activateXR() { const scene = new THREE.Scene(); // Color of the torus geometry. -const material = new THREE.MeshLambertMaterial({ color: 0xce1256 }); +const material = new THREE.MeshLambertMaterial({ color: 0xBF0DEF }); // Create the torus and add it to the demo scene. -const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 80, 8), material); +const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 64, 8, 2, 3), material); //position the next geometry (sphere) torus.position.set(0, 0, -1); // Add the mesh to the scene -- GitLab