Update neural network background configuration: reduce node count and connection distance, adjust glow and node colors, and modify shadow blur for improved visual clarity and performance.
This commit is contained in:
@@ -27,11 +27,11 @@ class Node {
|
||||
|
||||
// Konfiguration
|
||||
const config = {
|
||||
nodeCount: 120,
|
||||
connectDist: 120,
|
||||
nodeCount: 30,
|
||||
connectDist: 80,
|
||||
lineAlpha: 0.08,
|
||||
glowColor: 'rgba(30,150,255,0.4)',
|
||||
nodeColor: 'rgba(200,230,255,0.6)'
|
||||
glowColor: 'rgba(152, 165, 177, 0.4)',
|
||||
nodeColor: 'rgba(135, 162, 184, 0.6)'
|
||||
};
|
||||
|
||||
// Erzeuge Nodes
|
||||
@@ -47,7 +47,7 @@ function animate() {
|
||||
// Linien zeichnen
|
||||
ctx.strokeStyle = config.glowColor;
|
||||
ctx.lineWidth = 0.8;
|
||||
ctx.shadowBlur = 8;
|
||||
ctx.shadowBlur = 3;
|
||||
ctx.shadowColor = config.glowColor;
|
||||
|
||||
for (let i = 0; i < nodes.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user