Spaces:
Running
Running
Update index.html
Browse files- index.html +5 -5
index.html
CHANGED
|
@@ -1110,15 +1110,15 @@ function drawNeuralActivity(time) {
|
|
| 1110 |
}
|
| 1111 |
}
|
| 1112 |
|
| 1113 |
-
//
|
| 1114 |
neuralCtx.save();
|
| 1115 |
-
neuralCtx.globalAlpha = 0.
|
| 1116 |
neuralCtx.beginPath();
|
| 1117 |
-
//
|
| 1118 |
-
neuralCtx.arc(w / 2, h / 2, Math.min(w, h) * (
|
| 1119 |
neuralCtx.fillStyle = "#a21caf";
|
| 1120 |
neuralCtx.shadowColor = "#ec4899";
|
| 1121 |
-
neuralCtx.shadowBlur =
|
| 1122 |
neuralCtx.fill();
|
| 1123 |
neuralCtx.restore();
|
| 1124 |
|
|
|
|
| 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 |
|