One commited on
Commit
43abd05
·
verified ·
1 Parent(s): 7e356c3

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -5
index.html CHANGED
@@ -1706,8 +1706,8 @@ function drawFishShadows(t) {
1706
 
1707
  if (shadowHeight > 0) {
1708
  // Shadow width tapers from fish size at top to wider at bottom
1709
- const topWidth = f.size * 1.2;
1710
- const bottomWidth = f.size * 2.5;
1711
 
1712
  // Shadow descends at an angle based on sun position
1713
  const topX = f.x;
@@ -1715,9 +1715,9 @@ function drawFishShadows(t) {
1715
 
1716
  // Create gradient for shadow (darker near fish, fading downward)
1717
  const g = ctx.createLinearGradient(topX, shadowTop, bottomX, shadowBottom);
1718
- g.addColorStop(0, 'rgba(0,0,0,0.11)');
1719
- g.addColorStop(0.3, 'rgba(0,0,0,0.06)');
1720
- g.addColorStop(1, 'rgba(0,0,0,0.015)');
1721
 
1722
  ctx.fillStyle = g;
1723
  ctx.beginPath();
 
1706
 
1707
  if (shadowHeight > 0) {
1708
  // Shadow width tapers from fish size at top to wider at bottom
1709
+ const topWidth = f.size * 1.875;
1710
+ const bottomWidth = f.size * 3.90625;
1711
 
1712
  // Shadow descends at an angle based on sun position
1713
  const topX = f.x;
 
1715
 
1716
  // Create gradient for shadow (darker near fish, fading downward)
1717
  const g = ctx.createLinearGradient(topX, shadowTop, bottomX, shadowBottom);
1718
+ g.addColorStop(0, 'rgba(0,0,0,0.0825)');
1719
+ g.addColorStop(0.3, 'rgba(0,0,0,0.045)');
1720
+ g.addColorStop(1, 'rgba(0,0,0,0.01125)');
1721
 
1722
  ctx.fillStyle = g;
1723
  ctx.beginPath();