soiz commited on
Commit
143af1b
·
verified ·
1 Parent(s): 01caa4d

Update index.html

Browse files
Files changed (1) hide show
  1. 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 });