Upload index.html
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -222,9 +222,9 @@ class Fish {
|
|
| 222 |
// so any marked fish can also wear them.
|
| 223 |
if (Math.random() < 0.1) {
|
| 224 |
const tier = Math.random(); // pick one of three lengths
|
| 225 |
-
this.whiskerLen = tier < 1 / 3 ? rand(0.
|
| 226 |
-
: tier < 2 / 3 ? rand(
|
| 227 |
-
: rand(
|
| 228 |
this.whiskPh = rand(0, Math.PI * 2); // per-fish wave phase offset
|
| 229 |
this.whiskerAlpha = 0.5; // v18: fixed 50% opacity
|
| 230 |
} else {
|
|
|
|
| 222 |
// so any marked fish can also wear them.
|
| 223 |
if (Math.random() < 0.1) {
|
| 224 |
const tier = Math.random(); // pick one of three lengths
|
| 225 |
+
this.whiskerLen = tier < 1 / 3 ? rand(0.72, 0.96) // v19: whiskers 60% longer
|
| 226 |
+
: tier < 2 / 3 ? rand(1.28, 1.6)
|
| 227 |
+
: rand(2.0, 2.4); // in units of size s
|
| 228 |
this.whiskPh = rand(0, Math.PI * 2); // per-fish wave phase offset
|
| 229 |
this.whiskerAlpha = 0.5; // v18: fixed 50% opacity
|
| 230 |
} else {
|