Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -94,7 +94,7 @@
|
|
94 |
cube.position.set(
|
95 |
(x - canvas.width / 2) * cubeSize * 1.2, // x座標をそのまま使用
|
96 |
(canvas.height / 2 - y) * cubeSize * 1.2, // y座標を反転
|
97 |
-
Math.random() *
|
98 |
);
|
99 |
scene.add(cube);
|
100 |
cubes.push(cube);
|
|
|
94 |
cube.position.set(
|
95 |
(x - canvas.width / 2) * cubeSize * 1.2, // x座標をそのまま使用
|
96 |
(canvas.height / 2 - y) * cubeSize * 1.2, // y座標を反転
|
97 |
+
Math.random() * 2200 - 100 // 初期位置のばらつきを与える
|
98 |
);
|
99 |
scene.add(cube);
|
100 |
cubes.push(cube);
|