From 9726c2b0054f3c3b400c4a2da7b007eeaf31a32d Mon Sep 17 00:00:00 2001 From: Juan Carlos Ponce Campuzano <37394697+jcponce@users.noreply.github.com> Date: Wed, 10 Jul 2024 20:08:58 +1000 Subject: [PATCH] Update main.js --- threejs/particle-life/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threejs/particle-life/main.js b/threejs/particle-life/main.js index b078b470..2fe80c3d 100644 --- a/threejs/particle-life/main.js +++ b/threejs/particle-life/main.js @@ -108,7 +108,7 @@ function initializeParticles() { velocitiesBuffer[i * 3] = 0; velocitiesBuffer[i * 3 + 1] = 0; velocitiesBuffer[i * 3 + 2] = 0; - let color = new THREE.Color(`hsl(${(i % numTypes) * colorStep}, 70%, 50%)`); + let color = new THREE.Color(`hsl(${(i % numTypes) * colorStep}, 80%, 50%)`); colors[i * 3] = color.r; colors[i * 3 + 1] = color.g; colors[i * 3 + 2] = color.b;