From 0afb8cb6e251943c2e251a6601ee60c5f1fd5d22 Mon Sep 17 00:00:00 2001 From: marwin Date: Tue, 29 Apr 2025 20:58:27 +0100 Subject: [PATCH] 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. --- static/neural-network-background.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/neural-network-background.js b/static/neural-network-background.js index 763b110..360a04c 100644 --- a/static/neural-network-background.js +++ b/static/neural-network-background.js @@ -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++) {