🎨 style: update CSS and remove unused JS for improved design consistency

This commit is contained in:
2025-05-02 18:57:01 +02:00
parent 54a5ccc224
commit 42a7485ce1
5 changed files with 395 additions and 624 deletions

View File

@@ -51,11 +51,11 @@ class NeuralNetworkBackground {
flowColor: '#b47fea'
},
light: {
background: '#f9fafb',
nodeColor: '#8b5cf6',
nodePulse: '#7c3aed',
connectionColor: '#c4b5fd',
flowColor: '#6d28d9'
background: '#f8f9fc',
nodeColor: '#8c6db5',
nodePulse: '#b094dd',
connectionColor: '#9882bd',
flowColor: '#7d5bb5'
}
};
@@ -272,7 +272,7 @@ class NeuralNetworkBackground {
connection.flowProgress = 0;
connection.flowStart = now;
connection.flowDuration = this.config.flowDuration[0] +
Math.random() * (this.config.flowDuration[1] - this.config.flowDuration[0]);
Math.random() * (this.config.flowDuration[1] - this.config.flowDuration[0]);
this.activeConnections.add(connection.id);
}
@@ -361,9 +361,9 @@ class NeuralNetworkBackground {
// Wenn pulsierend, füge einen Glow-Effekt hinzu
if (isPulsing) {
this.ctx.globalAlpha = 0.5 * (1 - pulseProgress);
this.ctx.beginPath();
this.ctx.beginPath();
this.ctx.arc(node.x, node.y, node.size + 5 * pulseProgress, 0, Math.PI * 2);
this.ctx.fill();
this.ctx.fill();
}
}