Skip to content

Commit

Permalink
refactor: Reduce circle radius by 30% to improve canvas visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Nov 27, 2024
1 parent b323788 commit 5e392bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugo-site/static/js/small-world-routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function initVisualization() {

// Parameters
const numPeers = 100;
const radius = 150;
const radius = 105;
const connectionProbability = (distance) => 1 / (distance + 1);

let peers = [];
Expand Down

0 comments on commit 5e392bd

Please sign in to comment.