Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Jul 10, 2024
1 parent dc368aa commit 9726c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threejs/particle-life/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9726c2b

Please sign in to comment.