Cpu Cooling Master Register Code Free Herebutton background: none; border: none; #logList height: 90px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 6px; cpu cooling master register code free input[type="range"]::-webkit-slider-thumb -webkit-appearance: none; width: 22px; height: 22px; background: white; border-radius: 50%; border: 2px solid #2dd4bf; cursor: pointer; box-shadow: 0 0 10px cyan; transition: 0.1s; button background: none // auto-adjust fan based on active mode (dynamic control) function applySmartFanControl() let targetPercent = currentFanPercent; if (activeMode === "silent") // silent: keep low, but still respond above 70C if (currentTemp < 62) targetPercent = 28; else if (currentTemp < 78) targetPercent = 42 + (currentTemp-62)*1.2; else targetPercent = 68; targetPercent = Math.min(75, targetPercent); else if (activeMode === "balanced") if (currentTemp < 55) targetPercent = 38; else if (currentTemp < 75) targetPercent = 45 + (currentTemp-55)*1.5; else targetPercent = 82; targetPercent = Math.min(92, targetPercent); else if (activeMode === "performance") if (currentTemp < 58) targetPercent = 55; else if (currentTemp < 80) targetPercent = 65 + (currentTemp-58)*1.2; else targetPercent = 94; targetPercent = Math.min(99, targetPercent); else if (activeMode === "full") targetPercent = 100; targetPercent = Math.min(100, Math.max(0, Math.floor(targetPercent))); if (Math.abs(targetPercent - currentFanPercent) > 2) setFanSpeed(targetPercent); // register cooling adjustment event (important for master log) addLogEntry(`🌀 fan profile [$activeMode.toUpperCase()] → $targetPercent% PWM · $currentRPM RPM`); else // just sync slider just in case if(fanSlider.value != currentFanPercent) fanSlider.value = currentFanPercent; #logList height: 90px // --- Thermal simulation: temperature depends on load + fan cooling efficiency --- function updateThermalSimulation() // simulate dynamic load (like background processes) workloadCycle = (workloadCycle + 0.6) % 100; let simulatedLoad = 28 + 18 * Math.sin(workloadCycle * 0.12) + (Math.random() * 8); // also add small random walk for realism simulatedLoad = Math.min(95, Math.max(12, simulatedLoad)); currentLoad = Math.floor(simulatedLoad); // Cooling factor based on fan percent (0..1) + base cooling let fanCoolingFactor = (currentFanPercent / 100) * 0.65; // max 65% reduction effect let ambientEffect = 0.25; let rawTemp = 35 + (currentLoad * 0.55); // load impact let afterCooling = rawTemp - (fanCoolingFactor * 18) - ambientEffect; let newTemp = Math.min(98, Math.max(28, afterCooling + (Math.random() * 1.2 - 0.6))); newTemp = parseFloat(newTemp.toFixed(1)); // temperature inertia: smooth transition currentTemp = currentTemp * 0.75 + newTemp * 0.25; currentTemp = Math.round(currentTemp * 10) / 10; // apply thermal throttling warning register event if (currentTemp > 85 && lastTempLog !== 2) addLogEntry(`⚠️ THERMAL ALERT! CPU at $currentTemp°C · cooling power $currentFanPercent%`, true); lastTempLog = 2; else if (currentTemp > 72 && lastTempLog !== 1 && currentTemp <= 85) addLogEntry(`🔆 High thermal load: $currentTemp°C · fan @ $currentFanPercent%`); lastTempLog = 1; else if (currentTemp < 55 && lastTempLog === 2) addLogEntry(`✅ Temperature stabilized at $currentTemp°C`); lastTempLog = 0; else if (currentTemp <= 65 && lastTempLog === 1) lastTempLog = 0; // Update UI with colors if critical cpuTempSpan.innerHTML = `$currentTemp<span>°C</span>`; if (currentTemp > 80) cpuTempSpan.classList.add('temp-critical'); else cpuTempSpan.classList.remove('temp-critical'); thermalLoadSpan.innerHTML = `$Math.floor(currentLoad)<span>%</span>`; // initial fan sync setFanSpeed(45); setActiveMode("balanced"); .mode-btn.active background: #2dd4bf; color: #0a0f1e; box-shadow: 0 0 10px #2dd4bf; |