Testing347 commited on
Commit
6648d3b
·
verified ·
1 Parent(s): 5b73a01

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +14 -11
index.html CHANGED
@@ -1110,17 +1110,20 @@ function drawNeuralActivity(time) {
1110
  }
1111
  }
1112
 
1113
- // Even larger, ultra-bold orb-wide glow
1114
- neuralCtx.save();
1115
- neuralCtx.globalAlpha = 0.52 + 0.38 * beat; // higher opacity
1116
- neuralCtx.beginPath();
1117
- // Radius goes beyond the orb: up to 1.2x the orb's width/height
1118
- neuralCtx.arc(w / 2, h / 2, Math.min(w, h) * (1.1 + 0.22 * beat), 0, Math.PI * 2);
1119
- neuralCtx.fillStyle = "#a21caf";
1120
- neuralCtx.shadowColor = "#ec4899";
1121
- neuralCtx.shadowBlur = 900 + 360 * beat; // extreme, fills the whole section
1122
- neuralCtx.fill();
1123
- neuralCtx.restore();
 
 
 
1124
  </script>
1125
  </body>
1126
  </html>
 
1110
  }
1111
  }
1112
 
1113
+ // Strong orb-wide glow
1114
+ neuralCtx.save();
1115
+ neuralCtx.globalAlpha = 0.19 + 0.27 * beat;
1116
+ neuralCtx.beginPath();
1117
+ neuralCtx.arc(w / 2, h / 2, Math.min(w, h) * (0.50 + 0.13 * beat), 0, Math.PI * 2);
1118
+ neuralCtx.fillStyle = "#a21caf";
1119
+ neuralCtx.shadowColor = "#ec4899";
1120
+ neuralCtx.shadowBlur = 160 + 110 * beat;
1121
+ neuralCtx.fill();
1122
+ neuralCtx.restore();
1123
+
1124
+ requestAnimationFrame(drawNeuralActivity);
1125
+ }
1126
+ requestAnimationFrame(drawNeuralActivity);
1127
  </script>
1128
  </body>
1129
  </html>