|
@@ -8,7 +8,7 @@
|
|
|
<body>
|
|
<body>
|
|
|
|
|
|
|
|
<div id="info">
|
|
<div id="info">
|
|
|
- <a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Compute - 1M Particles
|
|
|
|
|
|
|
+ <a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Compute - 500k Particles
|
|
|
<div id="timestamps" style="
|
|
<div id="timestamps" style="
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 60px;
|
|
top: 60px;
|
|
@@ -45,7 +45,7 @@
|
|
|
|
|
|
|
|
import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
|
|
import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
|
|
|
|
|
|
|
|
- const particleCount = 1000000;
|
|
|
|
|
|
|
+ const particleCount = 500000;
|
|
|
|
|
|
|
|
const gravity = uniform( - .0098 );
|
|
const gravity = uniform( - .0098 );
|
|
|
const bounce = uniform( .8 );
|
|
const bounce = uniform( .8 );
|