From b32378827b16e0ac78fe1b47c4895341af7c97b8 Mon Sep 17 00:00:00 2001 From: "Ian Clarke (aider)" Date: Wed, 27 Nov 2024 00:52:50 -0600 Subject: [PATCH] refactor: Reduce canvas and circle size to minimize wasted space --- hugo-site/layouts/shortcodes/small-world-routing.html | 2 +- hugo-site/static/js/small-world-routing.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo-site/layouts/shortcodes/small-world-routing.html b/hugo-site/layouts/shortcodes/small-world-routing.html index 139e1b81..46b081b0 100644 --- a/hugo-site/layouts/shortcodes/small-world-routing.html +++ b/hugo-site/layouts/shortcodes/small-world-routing.html @@ -12,7 +12,7 @@
- +
diff --git a/hugo-site/static/js/small-world-routing.js b/hugo-site/static/js/small-world-routing.js index ac5a2b2b..072f8bdf 100644 --- a/hugo-site/static/js/small-world-routing.js +++ b/hugo-site/static/js/small-world-routing.js @@ -40,7 +40,7 @@ async function initVisualization() { // Parameters const numPeers = 100; - const radius = 220; + const radius = 150; const connectionProbability = (distance) => 1 / (distance + 1); let peers = [];