One commited on
Commit
16ae5cc
·
verified ·
1 Parent(s): 6ef3cfc

Upload index.html

Browse files
Files changed (1) hide show
  1. 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.45, 0.6)
226
- : tier < 2 / 3 ? rand(0.8, 1.0)
227
- : rand(1.25, 1.5); // 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 {
 
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 {