mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-30 23:33:50 +00:00
Rain: 4 hops = full screen (was 8), matches median of 3 hops
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
<script src="nodes.js?v=1774126708" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="traces.js?v=1774135052" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="analytics.js?v=1774126708" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="live.js?v=1774167202" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="live.js?v=1774167315" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="observers.js?v=1774290000" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="observer-detail.js?v=1774028201" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="node-analytics.js?v=1774126708" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
|
||||
@@ -1818,7 +1818,7 @@
|
||||
const W = rainCanvas.width;
|
||||
const H = rainCanvas.height;
|
||||
// Fall distance proportional to hops: 8+ hops = full height
|
||||
const maxY = H * Math.min(1, hopCount / 8);
|
||||
const maxY = H * Math.min(1, hopCount / 4);
|
||||
// Duration: 5s for full height, proportional for shorter
|
||||
const duration = 5000 * (maxY / H);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user