Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -84,7 +84,7 @@
|
|
84 |
const r = imageData[index];
|
85 |
const g = imageData[index + 1];
|
86 |
const b = imageData[index + 2];
|
87 |
-
const color = new THREE.Color(rgb(${r},${g},${b}));
|
88 |
|
89 |
const geometry = new THREE.BoxGeometry(cubeSize, cubeSize, cubeSize);
|
90 |
const material = new THREE.MeshBasicMaterial({ color: color });
|
|
|
84 |
const r = imageData[index];
|
85 |
const g = imageData[index + 1];
|
86 |
const b = imageData[index + 2];
|
87 |
+
const color = new THREE.Color(`rgb(${r},${g},${b})`);
|
88 |
|
89 |
const geometry = new THREE.BoxGeometry(cubeSize, cubeSize, cubeSize);
|
90 |
const material = new THREE.MeshBasicMaterial({ color: color });
|