From e8bc24d33774cb34babbd4def2f97bf7576ed50b Mon Sep 17 00:00:00 2001 From: adrien Date: Sat, 24 Jan 2026 01:51:52 +0100 Subject: [PATCH] slower mino explosion --- jsm/Tetrominoes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsm/Tetrominoes.js b/jsm/Tetrominoes.js index c81854b..9f4d257 100644 --- a/jsm/Tetrominoes.js +++ b/jsm/Tetrominoes.js @@ -181,7 +181,7 @@ InstancedMino.prototype.materials = { transparent: true, opacity: 0.6, roughness: 0.25, - metalness: 0.8, + metalness: 0.85, }), Espace: new THREE.MeshStandardMaterial({ envMap: environment, @@ -218,7 +218,7 @@ class Mino extends THREE.Object3D { super() this.color = color this.offset = offset - this.velocity = P(50 - 100 * Math.random(), 60 - 100 * Math.random(), 50 - 100 * Math.random()) + this.velocity = P(33 - 66 * Math.random(), 43 - 66 * Math.random(), 33 - 66 * Math.random()) this.rotationAngle = P(Math.random(), Math.random(), Math.random()).normalize() this.angularVelocity = 5 - 10 * Math.random() this.constructor.instances.add(this)